consumer

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Conn

func Conn(c Configs) (err error)

Conn -

func Start

func Start(f nsq.HandlerFunc) error

Start -

func States

func States() *nsq.ConsumerStats

States -

func Stop

func Stop()

Stop -

Types

type Configs

type Configs struct {
	LogLevel   nsq.LogLevel
	Topic      string
	Channel    string
	Nsqlookupd string
}

Configs -

var (
	Logger         = log.New(os.Stderr, "", log.Flags())
	ConsumerConfig Configs
)

Jump to

Keyboard shortcuts

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