nsq

package
v0.0.65 Latest Latest
Warning

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

Go to latest
Published: Oct 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 NSQ

type NSQ struct {
	Client            *nsq.Consumer
	NsqLookupdAddress *string
	NsqdAddress       *string
	Topic             *string
	Channel           *string

	// TLS
	EnableTLS   *bool
	TLSInsecure *bool
	TLSCert     *string
	TLSKey      *string
	TLSCA       *string
	// contains filtered or unexported fields
}

func (*NSQ) Cleanup

func (d *NSQ) Cleanup() error

func (*NSQ) ClearWork

func (d *NSQ) ClearWork() error

func (*NSQ) GetWork

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

func (*NSQ) HandleFailure

func (d *NSQ) HandleFailure() error

func (*NSQ) Init

func (d *NSQ) Init() error

func (*NSQ) LoadEnv

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

func (*NSQ) LoadFlags

func (d *NSQ) LoadFlags() error

Jump to

Keyboard shortcuts

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