Documentation ¶ Index ¶ func Load(path, pattern string, rcf RegisterClientFunc) (int, error) type Plugin type RegisterClientFunc type Registerer Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Load ¶ func Load(path, pattern string, rcf RegisterClientFunc) (int, error) Types ¶ type Plugin ¶ type Plugin interface { Lookup(name string) (plugin.Symbol, error) } Plugin is the interface of the loaded plugins type RegisterClientFunc ¶ type RegisterClientFunc func( name string, enc func(context.Context, interface{}) (interface{}, error), dec func(context.Context, interface{}) (interface{}, error), t interface{}, ) type Registerer ¶ type Registerer interface { RegisterClients(func( name string, enc func(context.Context, interface{}) (interface{}, error), dec func(context.Context, interface{}) (interface{}, error), t interface{}, )) } Source Files ¶ View all Source files plugin.go Click to show internal directories. Click to hide internal directories.