nats

package
v0.4.12 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Nats

func Nats(conn *nats.Conn) registry.Option

Nats initialyse service registry with nats connection

func NewPub

func NewPub(c *nats.Conn) pubsub.Pubsub

NewPub return NATS Pubsub

func SetDefault added in v0.1.0

func SetDefault(c *nats.Conn, opts ...registry.Option) (r registry.Registry, err error)

SetDefault with a nats connection

func SetLogLevel added in v0.2.0

func SetLogLevel(level logrus.Level)

SetLogLevel log level

func WithNatsUrl added in v0.4.9

func WithNatsUrl(natsUrls string) registry.Option

Types

This section is empty.

Jump to

Keyboard shortcuts

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