Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NatsOptions ¶
type NatsOptions struct { Name string Url string Subject string UserCreds string NkeyFile string TlsCrtPath string TlsKeyPath string TlsCaCrtPath string TlsInsecure bool }
func NewNatsOptions ¶
func NewNatsOptions(prefix string, name string) *NatsOptions
func (*NatsOptions) Connect ¶
func (n *NatsOptions) Connect() (*nats.Conn, error)
type Options ¶
type Options struct { FromNats *NatsOptions ToNats *NatsOptions Queue string PendingMsgLimit int PendingByteLimit int Debug bool StatPrintPeriod uint `` }
func NewOptions ¶
func NewOptions() *Options
Click to show internal directories.
Click to hide internal directories.