Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidConfigType = errors.New("vltypes: invalid type of config object")
)
Functions ¶
func NormalizeConfig ¶
NormalizeConfig make sure config object meets basic requirement to be as map[string]interface{}
Types ¶
type RetainObject ¶ added in v0.5.0
type RetainObject interface {
Topic() string
}
RetainObject general interface of the retain as not only publish message can be retained
type TopicMessenger ¶ added in v0.5.0
type TopicMessenger interface { Publish(interface{}) error Retain(RetainObject) error }
TopicMessenger interface for session or systree used to publish or retain messages
Click to show internal directories.
Click to hide internal directories.