msgqueue

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2019 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PubTopic      = "coinex-dex"
	FeatureToggle = "feature-toggle"
)
View Source
const (
	KafkaMode = "kafka:"
	StdMode   = "os:"
)

Variables

View Source
var (
	EventTypeMsgQueue = "kafka"
)

Functions

This section is empty.

Types

type Mode

type Mode int

type MsgSender

type MsgSender interface {
	SendMsg(key []byte, v []byte)
	IsSubscribed(topic string) bool
	IsOpenToggle() bool
}

func NewProducer

func NewProducer() MsgSender

Jump to

Keyboard shortcuts

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