consumer

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

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

func NewConsumer

func NewConsumer(
	logger zerolog.Logger,
	stanConn stan.Conn,
	serviceName string,
	dadataClient dadata.Client,
	orgModel org.Model,
	areaModel area.Model,
	locationModel location.Model,
	managerModel manager.Model,
	okvedModel okved.Model,
	metroModel metro.Model,
) Consumer

func (Consumer) GracefulStop

func (c Consumer) GracefulStop()

func (Consumer) Serve

func (c Consumer) Serve() (err error)

func (Consumer) Subscribe

func (c Consumer) Subscribe() (err error)

Jump to

Keyboard shortcuts

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