nats

package
v0.0.0-...-3d8e83b Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 4 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 interface {
	Publish(string, []byte) error
	ChanSubscribe(string, chan *natsio.Msg) (*natsio.Subscription, error)
}

Client is the nats client

func NewClient

func NewClient(url string, opts ...natsio.Option) (Client, error)

NewClient returns a new workflows client

func NewClientWithDefaults

func NewClientWithDefaults(url string) (Client, error)

NewClient returns a new nats client with default options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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