Versions in this module Expand all Collapse all v0 v0.2.6 Mar 20, 2019 Changes in this version + var ErrInvalidNodeName = errors.New("node name is invalid") + type Config struct + Acceptor configuration.AcceptorConfig + Health healthcheck.Checks + MQTT configuration.MqttConfig + NodeName string + OnDuplicate func(string, bool) + Persistence persistence.IFace + TransportStatus func(id string, status string) + type Server interface + ListenAndServe func(interface{}) error + Shutdown func() error + func NewServer(config Config) (Server, error)