Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetDomainsCommand ¶
type GetDomainsCommand struct { DestinationTargetID string // contains filtered or unexported fields }
func (*GetDomainsCommand) Initalize ¶
func (c *GetDomainsCommand) Initalize(targetId string, responseId int64, conn *shared.Connection)
func (*GetDomainsCommand) Respond ¶
func (c *GetDomainsCommand) Respond(r *GetDomainsReturn)
func (*GetDomainsCommand) RespondWithError ¶
func (c *GetDomainsCommand) RespondWithError(code shared.ResponseErrorCodes, message string)
type GetDomainsCommandFn ¶
type GetDomainsCommandFn struct {
// contains filtered or unexported fields
}
func (*GetDomainsCommandFn) Load ¶
func (a *GetDomainsCommandFn) Load() func(GetDomainsCommand)
func (*GetDomainsCommandFn) Store ¶
func (a *GetDomainsCommandFn) Store(fn func(GetDomainsCommand))
type GetDomainsReturn ¶
type GetDomainsReturn struct {
Domains []Domain `json:"domains"` // List of supported domains.
}
type SchemaAgent ¶
type SchemaAgent struct {
// contains filtered or unexported fields
}
func NewAgent ¶
func NewAgent(conn *shared.Connection) *SchemaAgent
func (*SchemaAgent) Name ¶
func (agent *SchemaAgent) Name() string
func (*SchemaAgent) ProcessCommand ¶
func (agent *SchemaAgent) ProcessCommand(id int64, targetId string, funcName string, data *json.RawMessage)
func (*SchemaAgent) SetGetDomainsHandler ¶
func (agent *SchemaAgent) SetGetDomainsHandler(handler func(GetDomainsCommand))
Commands Sent From Frontend
Click to show internal directories.
Click to hide internal directories.