usercmd

package
v0.0.0-...-52d6a69 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package usercmd is a generated protocol buffer package.

It is generated from these files:

test.proto

It has these top-level messages:

ReqUserLogin

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTest = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTest   = fmt.Errorf("proto: integer overflow")
)
View Source
var UserCmd_name = map[int32]string{
	1: "Login",
}
View Source
var UserCmd_value = map[string]int32{
	"Login": 1,
}

Functions

This section is empty.

Types

type ReqUserLogin

type ReqUserLogin struct {
	Account          *string `protobuf:"bytes,1,req,name=Account" json:"Account,omitempty"`
	Password         *string `protobuf:"bytes,2,req,name=Password" json:"Password,omitempty"`
	Key              *uint32 `protobuf:"varint,3,req,name=Key" json:"Key,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*ReqUserLogin) GetAccount

func (m *ReqUserLogin) GetAccount() string

func (*ReqUserLogin) GetKey

func (m *ReqUserLogin) GetKey() uint32

func (*ReqUserLogin) GetPassword

func (m *ReqUserLogin) GetPassword() string

func (*ReqUserLogin) Marshal

func (m *ReqUserLogin) Marshal() (data []byte, err error)

func (*ReqUserLogin) MarshalTo

func (m *ReqUserLogin) MarshalTo(data []byte) (int, error)

func (*ReqUserLogin) ProtoMessage

func (*ReqUserLogin) ProtoMessage()

func (*ReqUserLogin) Reset

func (m *ReqUserLogin) Reset()

func (*ReqUserLogin) Size

func (m *ReqUserLogin) Size() (n int)

func (*ReqUserLogin) String

func (m *ReqUserLogin) String() string

func (*ReqUserLogin) Unmarshal

func (m *ReqUserLogin) Unmarshal(data []byte) error

type UserCmd

type UserCmd int32
const (
	UserCmd_Login UserCmd = 1
)

func (UserCmd) Enum

func (x UserCmd) Enum() *UserCmd

func (UserCmd) String

func (x UserCmd) String() string

func (*UserCmd) UnmarshalJSON

func (x *UserCmd) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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