nsqconsumer

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApp

func NewApp(basename string) *app.App

NewApp creates a App object with default parameters.

func Run

func Run(cfg *config.Config) error

Run runs the specified AuthzServer. This should never exit.

Types

type Consumer

type Consumer struct {
	// contains filtered or unexported fields
}

func (*Consumer) HandleMessage

func (c *Consumer) HandleMessage(m *nsq.Message) error

func (*Consumer) Run

func (c *Consumer) Run(msgChan chan<- *message.Message)

func (*Consumer) Stop

func (c *Consumer) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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