Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Nats ¶
type Nats struct {
// contains filtered or unexported fields
}
Nats creates and manages the nats message queue connection
func (*Nats) GetConn ¶
func (n *Nats) GetConn() *nats.Conn
GetConn retrieves the raw nats connection
func (*Nats) SendMessage ¶
SendMessage sends a request and captures the error
type NatsConfig ¶
NatsConfig configuration structure for the nats mq
func (*NatsConfig) FromEnv ¶
func (n *NatsConfig) FromEnv() (*NatsConfig, error)
FromEnv creates a nats config using environmental variables
func (*NatsConfig) IsSet ¶
func (n *NatsConfig) IsSet() bool
IsSet checks if the configuration has been set Note: All fields required
Click to show internal directories.
Click to hide internal directories.