gateway

package
v0.0.0-...-6465c35 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAccountinfo = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAccountinfo   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthRespont = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRespont   = fmt.Errorf("proto: integer overflow")
)
View Source
var AccountType_name = map[int32]string{
	0: "USERDEFINED",
	1: "MOBILE",
	2: "EMAIL",
	3: "HARDINFO",
	4: "RESERVE1",
	5: "RESERVE2",
	6: "RESERVE3",
}
View Source
var AccountType_value = map[string]int32{
	"USERDEFINED": 0,
	"MOBILE":      1,
	"EMAIL":       2,
	"HARDINFO":    3,
	"RESERVE1":    4,
	"RESERVE2":    5,
	"RESERVE3":    6,
}

Functions

This section is empty.

Types

type AccountType

type AccountType int32

账号类型

const (
	AccountType_USERDEFINED AccountType = 0
	AccountType_MOBILE      AccountType = 1
	AccountType_EMAIL       AccountType = 2
	AccountType_HARDINFO    AccountType = 3
	AccountType_RESERVE1    AccountType = 4
	AccountType_RESERVE2    AccountType = 5
	AccountType_RESERVE3    AccountType = 6
)

func (AccountType) EnumDescriptor

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

func (AccountType) String

func (x AccountType) String() string

type RespontInfo

type RespontInfo struct {
	ServerAddr           string   `protobuf:"bytes,1,opt,name=serverAddr,proto3" json:"serverAddr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

账号

func (*RespontInfo) Descriptor

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

func (*RespontInfo) GetServerAddr

func (m *RespontInfo) GetServerAddr() string

func (*RespontInfo) Marshal

func (m *RespontInfo) Marshal() (dAtA []byte, err error)

func (*RespontInfo) MarshalTo

func (m *RespontInfo) MarshalTo(dAtA []byte) (int, error)

func (*RespontInfo) ProtoMessage

func (*RespontInfo) ProtoMessage()

func (*RespontInfo) Reset

func (m *RespontInfo) Reset()

func (*RespontInfo) Size

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

func (*RespontInfo) String

func (m *RespontInfo) String() string

func (*RespontInfo) Unmarshal

func (m *RespontInfo) Unmarshal(dAtA []byte) error

func (*RespontInfo) XXX_DiscardUnknown

func (m *RespontInfo) XXX_DiscardUnknown()

func (*RespontInfo) XXX_Marshal

func (m *RespontInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RespontInfo) XXX_Merge

func (m *RespontInfo) XXX_Merge(src proto.Message)

func (*RespontInfo) XXX_Size

func (m *RespontInfo) XXX_Size() int

func (*RespontInfo) XXX_Unmarshal

func (m *RespontInfo) XXX_Unmarshal(b []byte) error

type UserInfo

type UserInfo struct {
	Account              string      `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	AccountType          AccountType `protobuf:"varint,2,opt,name=accountType,proto3,enum=gateway.AccountType" json:"accountType,omitempty"`
	Version              string      `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	Platform             string      `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"`
	HardInfo             string      `protobuf:"bytes,5,opt,name=hardInfo,proto3" json:"hardInfo,omitempty"`
	Device               string      `protobuf:"bytes,6,opt,name=device,proto3" json:"device,omitempty"`
	OsInfo               string      `protobuf:"bytes,7,opt,name=osInfo,proto3" json:"osInfo,omitempty"`
	Imei                 string      `protobuf:"bytes,8,opt,name=imei,proto3" json:"imei,omitempty"`
	Meid                 string      `protobuf:"bytes,9,opt,name=meid,proto3" json:"meid,omitempty"`
	Imsi                 string      `protobuf:"bytes,10,opt,name=imsi,proto3" json:"imsi,omitempty"`
	Iccid                string      `protobuf:"bytes,11,opt,name=iccid,proto3" json:"iccid,omitempty"`
	SeriesNumber         string      `protobuf:"bytes,12,opt,name=seriesNumber,proto3" json:"seriesNumber,omitempty"`
	Reserve1             string      `protobuf:"bytes,13,opt,name=reserve1,proto3" json:"reserve1,omitempty"`
	Reserve2             string      `protobuf:"bytes,14,opt,name=reserve2,proto3" json:"reserve2,omitempty"`
	Reserve3             string      `protobuf:"bytes,15,opt,name=reserve3,proto3" json:"reserve3,omitempty"`
	Reserve4             string      `protobuf:"bytes,16,opt,name=reserve4,proto3" json:"reserve4,omitempty"`
	Reserve5             string      `protobuf:"bytes,17,opt,name=reserve5,proto3" json:"reserve5,omitempty"`
	Reserve6             string      `protobuf:"bytes,18,opt,name=reserve6,proto3" json:"reserve6,omitempty"`
	Reserve7             string      `protobuf:"bytes,19,opt,name=reserve7,proto3" json:"reserve7,omitempty"`
	Reserve8             string      `protobuf:"bytes,20,opt,name=reserve8,proto3" json:"reserve8,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

账号

func (*UserInfo) Descriptor

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

func (*UserInfo) GetAccount

func (m *UserInfo) GetAccount() string

func (*UserInfo) GetAccountType

func (m *UserInfo) GetAccountType() AccountType

func (*UserInfo) GetDevice

func (m *UserInfo) GetDevice() string

func (*UserInfo) GetHardInfo

func (m *UserInfo) GetHardInfo() string

func (*UserInfo) GetIccid

func (m *UserInfo) GetIccid() string

func (*UserInfo) GetImei

func (m *UserInfo) GetImei() string

func (*UserInfo) GetImsi

func (m *UserInfo) GetImsi() string

func (*UserInfo) GetMeid

func (m *UserInfo) GetMeid() string

func (*UserInfo) GetOsInfo

func (m *UserInfo) GetOsInfo() string

func (*UserInfo) GetPlatform

func (m *UserInfo) GetPlatform() string

func (*UserInfo) GetReserve1

func (m *UserInfo) GetReserve1() string

func (*UserInfo) GetReserve2

func (m *UserInfo) GetReserve2() string

func (*UserInfo) GetReserve3

func (m *UserInfo) GetReserve3() string

func (*UserInfo) GetReserve4

func (m *UserInfo) GetReserve4() string

func (*UserInfo) GetReserve5

func (m *UserInfo) GetReserve5() string

func (*UserInfo) GetReserve6

func (m *UserInfo) GetReserve6() string

func (*UserInfo) GetReserve7

func (m *UserInfo) GetReserve7() string

func (*UserInfo) GetReserve8

func (m *UserInfo) GetReserve8() string

func (*UserInfo) GetSeriesNumber

func (m *UserInfo) GetSeriesNumber() string

func (*UserInfo) GetVersion

func (m *UserInfo) GetVersion() string

func (*UserInfo) Marshal

func (m *UserInfo) Marshal() (dAtA []byte, err error)

func (*UserInfo) MarshalTo

func (m *UserInfo) MarshalTo(dAtA []byte) (int, error)

func (*UserInfo) ProtoMessage

func (*UserInfo) ProtoMessage()

func (*UserInfo) Reset

func (m *UserInfo) Reset()

func (*UserInfo) Size

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

func (*UserInfo) String

func (m *UserInfo) String() string

func (*UserInfo) Unmarshal

func (m *UserInfo) Unmarshal(dAtA []byte) error

func (*UserInfo) XXX_DiscardUnknown

func (m *UserInfo) XXX_DiscardUnknown()

func (*UserInfo) XXX_Marshal

func (m *UserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserInfo) XXX_Merge

func (m *UserInfo) XXX_Merge(src proto.Message)

func (*UserInfo) XXX_Size

func (m *UserInfo) XXX_Size() int

func (*UserInfo) XXX_Unmarshal

func (m *UserInfo) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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