nats

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 10 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
	QueueGroup    *string
	CredsFile     *string
	JWTFile       *string
	NKeyFile      *string
	Username      *string
	Password      *string
	Token         *string
	EnableTLS     *bool
	TLSInsecure   *bool
	TLSCA         *string
	TLSCert       *string
	TLSKey        *string
	ClearResponse *string
	FailResponse  *string
	Key           *string
}

func (*Nats) Cleanup

func (d *Nats) Cleanup() error

func (*Nats) ClearWork

func (d *Nats) ClearWork() error

func (*Nats) GetWork

func (d *Nats) GetWork() (io.Reader, error)

func (*Nats) HandleFailure

func (d *Nats) HandleFailure() 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

Jump to

Keyboard shortcuts

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