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 MsgTransferPersistentServer

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

func NewMsgTransferPersistentServer

func NewMsgTransferPersistentServer(svcCtx *svc.ServiceContext) *MsgTransferPersistentServer

func (*MsgTransferPersistentServer) HandleMsg

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

func (*MsgTransferPersistentServer) SaveMsg

func (s *MsgTransferPersistentServer) SaveMsg(msg []byte, msgKey string) error

func (*MsgTransferPersistentServer) Start

func (s *MsgTransferPersistentServer) Start()

Jump to

Keyboard shortcuts

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