nats

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NATS

type NATS struct {
	Client      *nats.Conn
	URL         string
	Subject     *string
	CredsFile   *string
	JWTFile     *string
	NKeyFile    *string
	Username    *string
	Password    *string
	Token       *string
	EnableTLS   *bool
	TLSInsecure *bool
	TLSCA       *string
	TLSCert     *string
	TLSKey      *string
}

func (*NATS) Cleanup

func (d *NATS) Cleanup() error

func (*NATS) Init

func (d *NATS) Init() error

func (*NATS) LoadEnv

func (d *NATS) LoadEnv(prefix string) error

func (*NATS) LoadFlags

func (d *NATS) LoadFlags() error

func (*NATS) Push

func (d *NATS) Push(r io.Reader) error

Jump to

Keyboard shortcuts

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