Documentation ¶
Overview ¶
Package rpc provides functionality for request / reply messaging. It is used by package mgmt and cbs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Link ¶
type Link struct {
// contains filtered or unexported fields
}
Link is the bidirectional communication structure used for CBS negotiation
func NewLink ¶
func NewLink(conn *amqp.Client, address string, opts ...LinkOption) (*Link, error)
NewLink will build a new request response link
func NewLinkWithSession ¶
func NewLinkWithSession(session *amqp.Session, address string, opts ...LinkOption) (*Link, error)
NewLinkWithSession will build a new request response link, but will reuse an existing AMQP session
type LinkOption ¶
LinkOption provides a way to customize the construction of a Link
func LinkWithSessionFilter ¶
func LinkWithSessionFilter(sessionID *string) LinkOption
LinkWithSessionFilter configures a Link to use a session filter
Click to show internal directories.
Click to hide internal directories.