nats

package
v0.0.50 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 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 added in v0.0.40

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 added in v0.0.40

func (d *NATS) Cleanup() error

func (*NATS) ClearWork added in v0.0.40

func (d *NATS) ClearWork() error

func (*NATS) GetWork added in v0.0.40

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

func (*NATS) HandleFailure added in v0.0.40

func (d *NATS) HandleFailure() error

func (*NATS) Init added in v0.0.40

func (d *NATS) Init() error

func (*NATS) LoadEnv added in v0.0.40

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

func (*NATS) LoadFlags added in v0.0.40

func (d *NATS) LoadFlags() error

Jump to

Keyboard shortcuts

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