Documentation
¶
Index ¶
- type Client
- func (client *Client) Connect(host string, options *Options) error
- func (client *Client) ConnectToEndpoint(name string, domain string, options *EndpointOptions) (*Endpoint, error)
- func (client *Client) Disconnect()
- func (client *Client) GetConnection() *nats.Conn
- func (client *Client) GetEndpoint(name string) *Endpoint
- type Endpoint
- type EndpointOptions
- type EventBus
- type EventBusHandler
- type EventBusOptions
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ConnectToEndpoint ¶ added in v0.0.18
func (*Client) Disconnect ¶
func (client *Client) Disconnect()
func (*Client) GetConnection ¶
func (client *Client) GetConnection() *nats.Conn
func (*Client) GetEndpoint ¶ added in v0.0.18
type Endpoint ¶ added in v0.0.18
type Endpoint struct {
// contains filtered or unexported fields
}
func NewEndpoint ¶ added in v0.0.18
func NewEndpoint(client *Client, name string, domain string, options *EndpointOptions) *Endpoint
func (*Endpoint) GetConnection ¶ added in v0.0.18
type EndpointOptions ¶ added in v0.0.18
type EndpointOptions struct { }
func NewEndpointOptions ¶ added in v0.0.18
func NewEndpointOptions() *EndpointOptions
type EventBus ¶
type EventBus struct {
// contains filtered or unexported fields
}
func NewEventBus ¶
func NewEventBus(host string, handler EventBusHandler, options EventBusOptions) *EventBus
func (*EventBus) GetConnection ¶
func (*EventBus) ReconnectHandler ¶
type EventBusHandler ¶
type EventBusOptions ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.