broker

package
v0.0.0-...-242557f Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Broker

type Broker struct {
	Client sarama.ConsumerGroup
	// contains filtered or unexported fields
}

Broker aaa

var BrokerInstance Broker

BrokerInstance faaa

func (*Broker) Send

func (b *Broker) Send(m Msg)

Send 发送消息

type Msg

type Msg struct {
	Topic   string
	Key     string
	Message string
}

Msg aaa

Jump to

Keyboard shortcuts

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