Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AgentActionsRegistry = newActionsRegistry()
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action func(messages.IPCMessage, *config.Config, *vault.Vault, *sockets.CallingContext) (messages.IPCMessage, error)
type ActionsRegistry ¶
type ActionsRegistry struct {
// contains filtered or unexported fields
}
func (*ActionsRegistry) Get ¶
func (registry *ActionsRegistry) Get(messageType messages.IPCMessageType) (Action, bool)
func (*ActionsRegistry) Register ¶
func (registry *ActionsRegistry) Register(messageType messages.IPCMessageType, action Action)
Click to show internal directories.
Click to hide internal directories.