transport

package
v0.0.0-...-1a2806f Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// HeaderType define JSONHeader,CSPBHeader,SSPBHeader
	HeaderType = iota
	//HeaderTypeWSJSON type WS json
	HeaderTypeWSJSON
	//HeaderTypeWSPB type WS protobuf message
	HeaderTypeWSPB
	//HeaderTypeGRPCPB type GRPC protobuf message
	HeaderTypeGRPCPB
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IMessage

type IMessage interface {
	GetID() uint32
	GetUID() uint64
	GetMsgID() uint32
	GetMsgType() uint32
	GetSeq() uint32
}

IMessage message interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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