mirror of
https://github.com/alice-lg/alice-lg.git
synced 2024-05-11 05:55:03 +00:00
13 lines
292 B
Go
13 lines
292 B
Go
package sources
|
|
|
|
import (
|
|
"github.com/ecix/alice-lg/backend/api"
|
|
)
|
|
|
|
type Source interface {
|
|
Status() (api.StatusResponse, error)
|
|
Neighbours() (api.NeighboursResponse, error)
|
|
Routes(neighbourId string) (api.RoutesResponse, error)
|
|
LookupPrefix(prefix string) (api.LookupResponse, error)
|
|
}
|