Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppendOption ¶
type AppendOption interface {
// contains filtered or unexported methods
}
AppendOption is a control store get option
type Event ¶
type Event struct { // Type is the event type Type EventType // Request is the request Request Request }
Event is a store event
type Request ¶
type Request struct { *e2ap.RicControlRequest // Index is the request index Index Index // DeviceID is the request device identifier DeviceID device.ID }
Request is a control request
type Store ¶
type Store interface { io.Closer // Append appends a new request Append(*Request, ...AppendOption) error // Ack acknowledges a request Ack(*Request) error // Watch watches the store for changes Watch(device.ID, chan<- Event, ...WatchOption) error }
Store is interface for store
func NewDistributedStore ¶
NewDistributedStore creates a new distributed indications store
func NewLocalStore ¶
NewLocalStore returns a new local indications store
type WatchOption ¶
type WatchOption interface {
// contains filtered or unexported methods
}
WatchOption is a control request store watch option
func WithReplay ¶
func WithReplay() WatchOption
WithReplay returns a watch option that replays existing messages
Click to show internal directories.
Click to hide internal directories.