MSG_Login

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_Login is a generated protocol buffer package.

It is generated from these files:

MSG_Login.proto

It has these top-level messages:

CS_UserBind_Req
CS_UserRegister_Req
SC_UserRegister_Rsp
CS_Login_Req
SC_Login_Rsp

Index

Constants

This section is empty.

Variables

View Source
var ErrorCode_name = map[int32]string{
	0: "Invalid",
	1: "Success",
	2: "Fail",
	3: "UserNotExistOrPasswdErr",
}
View Source
var ErrorCode_value = map[string]int32{
	"Invalid":                 0,
	"Success":                 1,
	"Fail":                    2,
	"UserNotExistOrPasswdErr": 3,
}
View Source
var SUBMSG_name = map[int32]string{
	0: "Begin",
	1: "CS_UserBind",
	2: "SC_UserBind",
	3: "CS_UserRegister",
	4: "SC_UserRegister",
	5: "CS_Login",
	6: "SC_Login",
}
View Source
var SUBMSG_value = map[string]int32{
	"Begin":           0,
	"CS_UserBind":     1,
	"SC_UserBind":     2,
	"CS_UserRegister": 3,
	"SC_UserRegister": 4,
	"CS_Login":        5,
	"SC_Login":        6,
}

Functions

This section is empty.

Types

type CS_Login_Req

type CS_Login_Req struct {
	Account      string `protobuf:"bytes,1,opt,name=Account" json:"Account,omitempty"`
	Passwd       string `protobuf:"bytes,2,opt,name=Passwd" json:"Passwd,omitempty"`
	DeviceSerial string `protobuf:"bytes,3,opt,name=DeviceSerial" json:"DeviceSerial,omitempty"`
	DeviceName   string `protobuf:"bytes,4,opt,name=DeviceName" json:"DeviceName,omitempty"`
}

CS_Login

func (*CS_Login_Req) Descriptor

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

func (*CS_Login_Req) ProtoMessage

func (*CS_Login_Req) ProtoMessage()

func (*CS_Login_Req) Reset

func (m *CS_Login_Req) Reset()

func (*CS_Login_Req) String

func (m *CS_Login_Req) String() string

type CS_UserBind_Req

type CS_UserBind_Req struct {
	Account string `protobuf:"bytes,1,opt,name=Account" json:"Account,omitempty"`
	Passwd  string `protobuf:"bytes,2,opt,name=Passwd" json:"Passwd,omitempty"`
}

CS_UserBind

func (*CS_UserBind_Req) Descriptor

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

func (*CS_UserBind_Req) ProtoMessage

func (*CS_UserBind_Req) ProtoMessage()

func (*CS_UserBind_Req) Reset

func (m *CS_UserBind_Req) Reset()

func (*CS_UserBind_Req) String

func (m *CS_UserBind_Req) String() string

type CS_UserRegister_Req

type CS_UserRegister_Req struct {
	Account      string `protobuf:"bytes,1,opt,name=Account" json:"Account,omitempty"`
	Passwd       string `protobuf:"bytes,2,opt,name=Passwd" json:"Passwd,omitempty"`
	DeviceSerial string `protobuf:"bytes,3,opt,name=DeviceSerial" json:"DeviceSerial,omitempty"`
	DeviceName   string `protobuf:"bytes,4,opt,name=DeviceName" json:"DeviceName,omitempty"`
}

CS_UserRegister

func (*CS_UserRegister_Req) Descriptor

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

func (*CS_UserRegister_Req) ProtoMessage

func (*CS_UserRegister_Req) ProtoMessage()

func (*CS_UserRegister_Req) Reset

func (m *CS_UserRegister_Req) Reset()

func (*CS_UserRegister_Req) String

func (m *CS_UserRegister_Req) String() string

type ErrorCode

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

func (ErrorCode) EnumDescriptor

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

func (ErrorCode) String

func (x ErrorCode) String() string

type SC_Login_Rsp

type SC_Login_Rsp struct {
	Ret ErrorCode `protobuf:"varint,1,opt,name=Ret,enum=MSG_Login.ErrorCode" json:"Ret,omitempty"`
}

SC_Login

func (*SC_Login_Rsp) Descriptor

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

func (*SC_Login_Rsp) ProtoMessage

func (*SC_Login_Rsp) ProtoMessage()

func (*SC_Login_Rsp) Reset

func (m *SC_Login_Rsp) Reset()

func (*SC_Login_Rsp) String

func (m *SC_Login_Rsp) String() string

type SC_UserRegister_Rsp

type SC_UserRegister_Rsp struct {
	Ret ErrorCode `protobuf:"varint,1,opt,name=Ret,enum=MSG_Login.ErrorCode" json:"Ret,omitempty"`
}

SC_UserRegister

func (*SC_UserRegister_Rsp) Descriptor

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

func (*SC_UserRegister_Rsp) ProtoMessage

func (*SC_UserRegister_Rsp) ProtoMessage()

func (*SC_UserRegister_Rsp) Reset

func (m *SC_UserRegister_Rsp) Reset()

func (*SC_UserRegister_Rsp) String

func (m *SC_UserRegister_Rsp) String() string

type SUBMSG

type SUBMSG int32

add by stefanchen server

const (
	SUBMSG_Begin           SUBMSG = 0
	SUBMSG_CS_UserBind     SUBMSG = 1
	SUBMSG_SC_UserBind     SUBMSG = 2
	SUBMSG_CS_UserRegister SUBMSG = 3
	SUBMSG_SC_UserRegister SUBMSG = 4
	SUBMSG_CS_Login        SUBMSG = 5
	SUBMSG_SC_Login        SUBMSG = 6
)

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