Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrkStorage ¶
type BrkStorage interface {
// contains filtered or unexported methods
}
BrkStorage gives a facade to manipulate the router's brokers
func NewBrkStorage ¶
func NewBrkStorage(name string, delay time.Duration) (BrkStorage, error)
NewBrkStorage creates a new internal storage for the router
type Components ¶
type Components struct { DutyManager dutycycle.DutyManager Brokers []core.BrokerClient Ctx log.Interface BrkStorage BrkStorage GtwStorage GtwStorage }
Components defines a structure to make the instantiation easier to read
type GtwStorage ¶
type GtwStorage interface {
// contains filtered or unexported methods
}
GtwStorage gives a facade to manipulate the router's gateways data
func NewGtwStorage ¶
func NewGtwStorage(name string) (GtwStorage, error)
NewGtwStorage creates a new internal storage for the router
type Server ¶
type Server interface { core.RouterServer Start() error }
Server defines the Router Server interface
Click to show internal directories.
Click to hide internal directories.