Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sess ¶
type Sess struct {
// contains filtered or unexported fields
}
Sess stores sendamqp session state.
func New ¶
New creates a new sendhec object/session. It requires an AMQP URL/URI (which may contain username, password, host, port, and/or vhost), exchange name, and routing key.
func (*Sess) CloseSvc ¶
CloseSvc closes the open session. CloseSvc must not be called when no session is open.
func (*Sess) OpenSvc ¶
OpenSvc opens a new session. OpenSvc must not be called when a session is already open.
func (*Sess) SendMessage ¶
SendMessage sends a LogEvent to a RabbitMQ (AMQP) exchange.
Click to show internal directories.
Click to hide internal directories.