Documentation
¶
Index ¶
- Variables
- func NewAction(action string) interface{}
- func RegisterAction(actionPtr ...interface{})
- func Unmarshal(action string, data []byte) (interface{}, error)
- type Action
- type ActionInterface
- type EmptyAction
- type FilterRequestAction
- type FilterResponseAction
- type LoadAction
- type Message
- type Queue
- type RegisterPluginAction
- type ReloadAction
- type ReloadAppAction
- type ReloadAppsAction
- type StartAction
- type StopAction
Constants ¶
This section is empty.
Variables ¶
View Source
var ActionQueue = NewQueue()
Functions ¶
func RegisterAction ¶
func RegisterAction(actionPtr ...interface{})
Types ¶
type Action ¶
type Action struct {
// contains filtered or unexported fields
}
func (*Action) SetMessageId ¶
type ActionInterface ¶
type EmptyAction ¶
type EmptyAction struct {
Action
}
func (*EmptyAction) Name ¶
func (this *EmptyAction) Name() string
type FilterRequestAction ¶
func (*FilterRequestAction) Name ¶
func (this *FilterRequestAction) Name() string
type FilterResponseAction ¶
func (*FilterResponseAction) Name ¶
func (this *FilterResponseAction) Name() string
type LoadAction ¶
type LoadAction struct {
Action
}
func (*LoadAction) Name ¶
func (this *LoadAction) Name() string
type Message ¶
func NewActionMessage ¶
func NewActionMessage(action ActionInterface) *Message
func NewMessage ¶
func NewMessage() *Message
type Queue ¶
func (*Queue) Notify ¶
func (this *Queue) Notify(resp ActionInterface)
func (*Queue) Wait ¶
func (this *Queue) Wait(action ActionInterface) (respAction ActionInterface)
type RegisterPluginAction ¶
func (*RegisterPluginAction) Name ¶
func (this *RegisterPluginAction) Name() string
type ReloadAction ¶
type ReloadAction struct {
Action
}
func (*ReloadAction) Name ¶
func (this *ReloadAction) Name() string
type ReloadAppAction ¶
func (*ReloadAppAction) Name ¶
func (this *ReloadAppAction) Name() string
type ReloadAppsAction ¶
func (*ReloadAppsAction) Name ¶
func (this *ReloadAppsAction) Name() string
type StartAction ¶
type StartAction struct {
Action
}
func (*StartAction) Name ¶
func (this *StartAction) Name() string
type StopAction ¶
type StopAction struct {
Action
}
func (*StopAction) Name ¶
func (this *StopAction) Name() string
Click to show internal directories.
Click to hide internal directories.