Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binding ¶
type Binding struct {
// contains filtered or unexported fields
}
Binding is the Binding subsystem. It manages all service bus messages starting with "binding".
func NewBinding ¶
func NewBinding(bus *servicebus.ServiceBus, logger *logger.Logger, bindings *binding.Bindings, runtime *runtime.Runtime) (*Binding, error)
NewBinding creates a new binding subsystem. Uses the given bindings db for reference.
type Call ¶
Call is the Call subsystem. It manages all service bus messages starting with "call".
type CallbackMessage ¶
type CallbackMessage struct { Result interface{} `json:"result"` Err string `json:"error"` CallbackID string `json:"callbackid"` }
CallbackMessage defines a message that contains the result of a call
type Event ¶
type Event struct {
// contains filtered or unexported fields
}
Event is the Eventing subsystem. It manages all service bus messages starting with "event".
func NewEvent ¶
func NewEvent(ctx context.Context, bus *servicebus.ServiceBus, logger *logger.Logger) (*Event, error)
NewEvent creates a new log subsystem
func (*Event) RegisterListener ¶
RegisterListener provides a means of subscribing to events of type "eventName"
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
Log is the Logging subsystem. It handles messages with topics starting with "log:"
func NewLog ¶
func NewLog(bus *servicebus.ServiceBus, logger *logger.Logger, logLevelStore *runtime.Store) (*Log, error)
NewLog creates a new log subsystem
type Menu ¶
type Menu struct {
// contains filtered or unexported fields
}
Menu is the subsystem that handles the operation of menus. It manages all service bus messages starting with "menu".
func NewMenu ¶
func NewMenu(ctx context.Context, bus *servicebus.ServiceBus, logger *logger.Logger, menuManager *menumanager.Manager) (*Menu, error)
NewMenu creates a new menu subsystem
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime is the Runtime subsystem. It handles messages with topics starting with "runtime:"
func NewRuntime ¶
func NewRuntime(ctx context.Context, bus *servicebus.ServiceBus, logger *logger.Logger, startupCallback func(*runtime.Runtime)) (*Runtime, error)
NewRuntime creates a new runtime subsystem