Versions in this module Expand all Collapse all v0 v0.13.0 Oct 10, 2016 Changes in this version + type NatsAdaptor struct + Host string + func NewNatsAdaptor(name string, host string, clientID int) *NatsAdaptor + func NewNatsAdaptorWithAuth(name string, host string, clientID int, username string, password string) *NatsAdaptor + func (a *NatsAdaptor) Connect() (errs []error) + func (a *NatsAdaptor) Disconnect() (err error) + func (a *NatsAdaptor) Finalize() (errs []error) + func (a *NatsAdaptor) Name() string + func (a *NatsAdaptor) On(event string, f func(s []byte)) bool + func (a *NatsAdaptor) Publish(topic string, message []byte) bool