Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action interface { Act(string, *fasthttp.RequestCtx) error SetParams(ActionParams) error GetResponseState() types.ResponseState }
func FromJSON ¶
func FromJSON(j ActionJSON) (Action, error)
type ActionJSON ¶
type ActionJSON struct { Name string `json:"name"` Params ActionParams `json:"params"` }
type ActionParams ¶
type ActionParams map[string]interface{}
Click to show internal directories.
Click to hide internal directories.