MSG_HeartBeat

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package MSG_HeartBeat is a generated protocol buffer package.

It is generated from these files:

MSG_HeartBeat.proto

It has these top-level messages:

CS_HeartBeat_Req
SC_HeartBeat_Rsp

Index

Constants

This section is empty.

Variables

View Source
var ErrorCode_name = map[int32]string{
	0: "Invalid",
	1: "Success",
	2: "Fail",
}
View Source
var ErrorCode_value = map[string]int32{
	"Invalid": 0,
	"Success": 1,
	"Fail":    2,
}
View Source
var SUBMSG_name = map[int32]string{
	0: "Begin",
	1: "CS_HeartBeat",
	2: "SC_HeartBeat",
}
View Source
var SUBMSG_value = map[string]int32{
	"Begin":        0,
	"CS_HeartBeat": 1,
	"SC_HeartBeat": 2,
}

Functions

This section is empty.

Types

type CS_HeartBeat_Req

type CS_HeartBeat_Req struct {
	SvrPoint uint32 `protobuf:"varint,1,opt,name=SvrPoint" json:"SvrPoint,omitempty"`
}

CS_HeartBeat

func (*CS_HeartBeat_Req) Descriptor

func (*CS_HeartBeat_Req) Descriptor() ([]byte, []int)

func (*CS_HeartBeat_Req) ProtoMessage

func (*CS_HeartBeat_Req) ProtoMessage()

func (*CS_HeartBeat_Req) Reset

func (m *CS_HeartBeat_Req) Reset()

func (*CS_HeartBeat_Req) String

func (m *CS_HeartBeat_Req) String() string

type ErrorCode

type ErrorCode int32
const (
	ErrorCode_Invalid ErrorCode = 0
	ErrorCode_Success ErrorCode = 1
	ErrorCode_Fail    ErrorCode = 2
)

func (ErrorCode) EnumDescriptor

func (ErrorCode) EnumDescriptor() ([]byte, []int)

func (ErrorCode) String

func (x ErrorCode) String() string

type SC_HeartBeat_Rsp

type SC_HeartBeat_Rsp struct {
}

SC_HeartBeat

func (*SC_HeartBeat_Rsp) Descriptor

func (*SC_HeartBeat_Rsp) Descriptor() ([]byte, []int)

func (*SC_HeartBeat_Rsp) ProtoMessage

func (*SC_HeartBeat_Rsp) ProtoMessage()

func (*SC_HeartBeat_Rsp) Reset

func (m *SC_HeartBeat_Rsp) Reset()

func (*SC_HeartBeat_Rsp) String

func (m *SC_HeartBeat_Rsp) String() string

type SUBMSG

type SUBMSG int32

add by stefanchen server

const (
	SUBMSG_Begin        SUBMSG = 0
	SUBMSG_CS_HeartBeat SUBMSG = 1
	SUBMSG_SC_HeartBeat SUBMSG = 2
)

func (SUBMSG) EnumDescriptor

func (SUBMSG) EnumDescriptor() ([]byte, []int)

func (SUBMSG) String

func (x SUBMSG) String() string

Jump to

Keyboard shortcuts

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