Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Components ¶
type Components struct { Broker core.AuthBrokerClient Ctx log.Interface DevStorage DevStorage PktStorage PktStorage AppAdapter core.AppClient }
Components is used to make handler instantiation easier
type DevStorage ¶
type DevStorage interface {
// contains filtered or unexported methods
}
DevStorage gives a facade to manipulate the handler devices database
func NewDevStorage ¶
func NewDevStorage(name string) (DevStorage, error)
NewDevStorage creates a new Device Storage for handler
type Interface ¶
type Interface interface { core.HandlerServer core.HandlerManagerServer Start() error }
Interface defines the Handler interface
type Options ¶
type Options struct { PublicNetAddr string // Net Address used to communicate with the handler from the outside PrivateNetAddr string // Net Address the handler listens on for internal communications PrivateNetAddrAnnounce string // Net Address the handler announces to brokers for internal communications ProcessedQueueSize uint // The maximum number of appEUI + devEUI the handler can process at the same time }
Options is used to make handler instantiation easier
type PktStorage ¶
type PktStorage interface {
// contains filtered or unexported methods
}
PktStorage gives a facade to manipulate the handler packets database
func NewPktStorage ¶
func NewPktStorage(name string, size uint) (PktStorage, error)
NewPktStorage creates a new PktStorage
Click to show internal directories.
Click to hide internal directories.