Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actable ¶
type Actable interface { GetCollectionName() string GetID() string RegisterActions(*ActionsHandler) }
Actable is the interface for all models implementing actor model
type ActionsHandler ¶
type ActionsHandler struct {
// contains filtered or unexported fields
}
ActionsHandler used to mange callbacks for controllers
func (*ActionsHandler) RegisterAction ¶
func (handler *ActionsHandler) RegisterAction(actionName string, action Action)
RegisterAction used to register action
type Actor ¶
type Actor struct {
// contains filtered or unexported fields
}
Actor is the base representation of actor in actor model
func (*Actor) Identifier ¶ added in v0.0.25
Click to show internal directories.
Click to hide internal directories.