Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FunctionCall ¶
type FunctionCall struct { FuncName string Args []interface{} }
type TemplateFuncs ¶
type TemplateFuncs interface { GetFuncNames() []string CallFunction(call FunctionCall) (interface{}, error) }
type TemplateFuncsPlugin ¶
type TemplateFuncsPlugin struct {
Impl TemplateFuncs
}
func (TemplateFuncsPlugin) Client ¶
func (TemplateFuncsPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error)
func (*TemplateFuncsPlugin) Server ¶
func (p *TemplateFuncsPlugin) Server(*plugin.MuxBroker) (interface{}, error)
type TemplateFuncsRPC ¶
type TemplateFuncsRPC struct {
// contains filtered or unexported fields
}
func (*TemplateFuncsRPC) CallFunction ¶
func (g *TemplateFuncsRPC) CallFunction(args FunctionCall) (interface{}, error)
func (*TemplateFuncsRPC) GetFuncNames ¶
func (g *TemplateFuncsRPC) GetFuncNames() []string
type TemplateFuncsRPCServer ¶
type TemplateFuncsRPCServer struct {
Impl TemplateFuncs
}
func (*TemplateFuncsRPCServer) CallFunction ¶
func (s *TemplateFuncsRPCServer) CallFunction(args FunctionCall, resp *interface{}) error
func (*TemplateFuncsRPCServer) GetFuncNames ¶
func (s *TemplateFuncsRPCServer) GetFuncNames(args interface{}, resp *[]string) error
Click to show internal directories.
Click to hide internal directories.