nats

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: AGPL-3.0 Imports: 9 Imported by: 6

Documentation

Index

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 NewClient

func NewClient(c config.NATS, options ...ClientOption) (Client, error)

func (Client) Close

func (c Client) Close(ctx context.Context)

func (Client) Read

func (Client) ServiceInfo

func (c Client) ServiceInfo(ctx context.Context) (clientPkg.ServiceInfo, error)

type ClientOption

type ClientOption func(c *Client)

func WithLogger

func WithLogger(logger extensions.Logger) ClientOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL