added birdwatcher stub
This commit is contained in:
parent
89e3d666f3
commit
543ef00a43
6
backend/sources/birdwatcher/config.go
Normal file
6
backend/sources/birdwatcher/config.go
Normal file
@ -0,0 +1,6 @@
|
||||
package birdwatcher
|
||||
|
||||
type Config struct {
|
||||
Name string
|
||||
Api string
|
||||
}
|
30
backend/sources/birdwatcher/source.go
Normal file
30
backend/sources/birdwatcher/source.go
Normal 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()")
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user