consumer

package
v0.0.0-...-80df095 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartRefundTicketConsumer

func StartRefundTicketConsumer()

Types

type PushConsumer

type PushConsumer struct {
	F         func(msg string)
	GroupName string
	Topic     string
	Address   string
	// contains filtered or unexported fields
}

Implement push consumer.

func (*PushConsumer) Shutdown

func (c *PushConsumer) Shutdown() error

func (*PushConsumer) Start

func (c *PushConsumer) Start() error

type PushConsumerInterface

type PushConsumerInterface interface {
	Start() error
	Shutdown() error
}

Define push consumer interface.

Jump to

Keyboard shortcuts

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