Documentation ¶ Index ¶ type Client func (db *Client) Close() error func (db *Client) Config() any func (db *Client) Init() error type Config func (c *Config) AfterInject() func (c *Config) BeforeInject() func (c *Config) Build() (*nats.Conn, error) func (c *Config) Init() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { *nats.Conn Conf Config } func (*Client) Close ¶ func (db *Client) Close() error func (*Client) Config ¶ func (db *Client) Config() any func (*Client) Init ¶ func (db *Client) Init() error type Config ¶ type Config nats.Options func (*Config) AfterInject ¶ func (c *Config) AfterInject() func (*Config) BeforeInject ¶ func (c *Config) BeforeInject() func (*Config) Build ¶ func (c *Config) Build() (*nats.Conn, error) func (*Config) Init ¶ func (c *Config) Init() Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.