nats

package
Version: v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 4 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

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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