Help us shape the future of Go! Take the 2026 Go Developer Survey

natsclient

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Param
	*nats.Conn
	// contains filtered or unexported fields
}

func New

func New(p Param) *Client

type Config

type Config struct {
	Url string `yaml:"url"`
}

type Param

type Param struct {
	Cfg    *Config
	Logger log.Logger
	Lc     lifecycle.Lifecycle
}

Jump to

Keyboard shortcuts

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