Documentation
¶
Index ¶
- Constants
- func CtxReceiverInstance(entry interface{}, ctx context.Context) context.Context
- func HandleNewMessage(r *Receiver, msg data.ModulePayload) error
- func NewReceiverAsInterface(cfg config.Config, ctx context.Context) interface{}
- func RunReceiverAsInterface(structure interface{}, ctx context.Context)
- type Receiver
Constants ¶
View Source
const ( ServiceName = data.ModuleName + "-receiver" AddUserAction = "add_user" UpdateUserAction = "update_user" RemoveUserAction = "remove_user" VerifyUserAction = "verify_user" DeleteUserAction = "delete_user" RefreshModuleAction = "refresh_module" RefreshSubmoduleAction = "refresh_submodule" )
Variables ¶
This section is empty.
Functions ¶
func CtxReceiverInstance ¶
func HandleNewMessage ¶
func HandleNewMessage(r *Receiver, msg data.ModulePayload) error
func NewReceiverAsInterface ¶
func RunReceiverAsInterface ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.