Versions in this module Expand all Collapse all v0 v0.0.1 Jul 14, 2023 Changes in this version + type ModulePlugin struct + Impl ModuleProvider + func (*ModulePlugin) Client(_ *plugin.MuxBroker, c *rpc.Client) (interface{}, error) + func (p *ModulePlugin) Server(*plugin.MuxBroker) (interface{}, error) + type ModuleProvider interface + GetComponentFile func(path string) []byte + GetComponents func() []modules.Component + GetName func() string + GetVersion func() modules.Version + TickFunction func() []PluginMessage + type ModuleRPC struct + func (rpc *ModuleRPC) GetComponentFile(path string) []byte + func (rpc *ModuleRPC) GetComponents() []modules.Component + func (rpc *ModuleRPC) GetName() string + func (rpc *ModuleRPC) GetVersion() modules.Version + func (rpc *ModuleRPC) TickFunction() []PluginMessage + type ModuleRPCServer struct + Impl ModuleProvider + func (s *ModuleRPCServer) GetComponentFile(args PathArgs, response *[]byte) error + func (s *ModuleRPCServer) GetComponents(_ interface{}, response *[]modules.Component) error + func (s *ModuleRPCServer) GetName(_ interface{}, response *string) error + func (s *ModuleRPCServer) GetVersion(_ interface{}, response *modules.Version) error + func (s *ModuleRPCServer) TickFunction(_ interface{}, response *[]PluginMessage) error + type PathArgs struct + Path string + type PluginMessage struct + Body string + Monitor string