Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncOrigin ¶
type AsyncOrigin interface { // Origin returns the origin type. Origin() string String() string // contains filtered or unexported methods }
AsyncOrigin is a sum type representing the originator of an async call.
This is used to determine how to handle the result of the async call.
func ParseAsyncOrigin ¶
func ParseAsyncOrigin(origin string) (AsyncOrigin, error)
ParseAsyncOrigin parses an async origin key.
type AsyncOriginCron ¶
type AsyncOriginCron struct {
CronJobKey model.CronJobKey `parser:"'cron' ':' @(~EOF)+"`
}
AsyncOriginCron represents the context for the originator of a cron async call.
It is in the form cron:<module>.<verb>
func (AsyncOriginCron) Origin ¶
func (a AsyncOriginCron) Origin() string
func (AsyncOriginCron) String ¶
func (a AsyncOriginCron) String() string
type AsyncOriginFSM ¶
type AsyncOriginFSM struct { FSM schema.RefKey `parser:"'fsm' ':' @@"` Key string `parser:"':' @(~EOF)+"` }
AsyncOriginFSM represents the context for the originator of an FSM async call.
It is in the form fsm:<module>.<name>:<key>
func (AsyncOriginFSM) Origin ¶
func (a AsyncOriginFSM) Origin() string
func (AsyncOriginFSM) String ¶
func (a AsyncOriginFSM) String() string
type AsyncOriginPubSub ¶
AsyncOriginPubSub represents the context for the originator of an PubSub async call.
It is in the form fsm:<module>.<subscription_name>
func (AsyncOriginPubSub) Origin ¶
func (a AsyncOriginPubSub) Origin() string
func (AsyncOriginPubSub) String ¶
func (a AsyncOriginPubSub) String() string
Click to show internal directories.
Click to hide internal directories.