server

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd2Value

type Cmd2Value struct {
	Cmd   int
	Value interface{}
}

type MsgTransferHistoryServer

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

func NewMsgTransferHistoryServer

func NewMsgTransferHistoryServer(svcCtx *svc.ServiceContext) *MsgTransferHistoryServer

func (*MsgTransferHistoryServer) ChatMs2Cassandra

func (s *MsgTransferHistoryServer) ChatMs2Cassandra(msg []byte, msgKey string) error

func (*MsgTransferHistoryServer) HandleMsg

func (s *MsgTransferHistoryServer) HandleMsg(value []byte, key []byte, topic string, partition int32, offset int64, msg *sarama.ConsumerMessage) error

func (*MsgTransferHistoryServer) Start

func (s *MsgTransferHistoryServer) Start()

Jump to

Keyboard shortcuts

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