added birdwatcher stub

This commit is contained in:
Matthias Hannig 2017-05-16 14:10:19 +02:00
parent 89e3d666f3
commit 543ef00a43
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,6 @@
package birdwatcher
type Config struct {
Name string
Api string
}

View File

@ -0,0 +1,30 @@
package birdwatcher
import (
"log"
"github.com/ecix/alice-lg/backend/sources"
)
type Birdwatcher struct {
config *Config
}
func NewBirdwatcher(config *Config) *Birdwatcher {
birdwatcher := &Birdwatcher{
config: config,
}
return birdwatcher
}
func (self *Birdwatcher) Status() {
log.Println("Implement me: Status()")
}
func (self *Birdwatcher) Neighbours() {
log.Println("Implement me: Neighbours()")
}
func (self *Birdwatcher) Routes() {
log.Println("Implement me: Routes()")
}