Documentation
¶
Index ¶
Constants ¶
View Source
const APIVersion = "1.0.0"
APIVersion version of current API
Variables ¶
View Source
var ( // ErrInvalidArgs invalid arguments ErrInvalidArgs = errors.New("plugin: invalid arguments") )
Functions ¶
Types ¶
type Descriptor ¶
Descriptor describes plugin
func (*Descriptor) Version ¶
func (b *Descriptor) Version() (string, string)
Version of plugin. Version format format major.minor.patch returns API version plugin is built with
plugin version
type HTTPHandler ¶
HTTPHandler provided by VolantMQ server
type Info ¶
type Info interface {
// Version in format major.minor.patch
Version() (string, string)
// Name plugin name
Name() string
// Desc plugin description
Desc() string
// Type plugin type
Type() string
}
Info return plugin information
type Messaging ¶
type Messaging interface {
GetSubscriber(id string) (vlsubscriber.IFace, error)
}
nolint: golint
Click to show internal directories.
Click to hide internal directories.