nsq

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConsumer

func NewConsumer(topic, channel string) *nsqio.Consumer

NewConsumer will return new NSQ consumer instance

Types

type DefaultLogger

type DefaultLogger struct {
	Name string
	Kind string
}

DefaultLogger just noob logger

func (*DefaultLogger) Output

func (l *DefaultLogger) Output(calldepth int, s string) error

Output will executed on logging

Jump to

Keyboard shortcuts

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