Versions in this module Expand all Collapse all v0 v0.92.1 Jun 6, 2026 v0.92.0 Jun 6, 2026 Changes in this version + func ServeModule(m Module) + type Context struct + AuthContext string + ChannelID string + Metadata map[string]string + Platform string + UserID string + type Module interface + Bootstrap func() error + Command func(ctx *Context, content any) (*MsgPayload, error) + Form func(ctx *Context, values map[string]string) (*MsgPayload, error) + Help func() (map[string][]string, error) + Init func(config json.RawMessage) error + IsReady func() bool + Rules func() (*Rules, error) + type ModuleBase struct + func (ModuleBase) Bootstrap() error + func (ModuleBase) Command(_ *Context, _ any) (*MsgPayload, error) + func (ModuleBase) Form(_ *Context, _ map[string]string) (*MsgPayload, error) + func (ModuleBase) Help() (map[string][]string, error) + func (ModuleBase) Init(_ json.RawMessage) error + func (ModuleBase) IsReady() bool + func (ModuleBase) Rules() (*Rules, error) + type ModulePlugin struct + func (*ModulePlugin) GRPCClient(_ context.Context, _ *goPlugin.GRPCBroker, c *grpc.ClientConn) (any, error) + func (*ModulePlugin) GRPCServer(_ *goPlugin.GRPCBroker, _ *grpc.Server) error + type MsgPayload struct + Text string + type Rules struct + Commands []any + Forms []any + Webhooks []any + Webservices []any