Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
user.proto
It has these top-level messages:
UserInfo UserId
Index ¶
- func RegisterUserServer(s *grpc.Server, srv UserServer)
- type UserClient
- type UserId
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)
- func (m *UserInfo) GetAddr() string
- func (m *UserInfo) GetAvatar() string
- func (m *UserInfo) GetBank() int64
- func (m *UserInfo) GetBankpwd() string
- func (m *UserInfo) GetCoin() int64
- func (m *UserInfo) GetCondays() int32
- func (m *UserInfo) GetCtime() int64
- func (m *UserInfo) GetDid() string
- func (m *UserInfo) GetErr() string
- func (m *UserInfo) GetForbid() string
- func (m *UserInfo) GetFriends() []int64
- func (m *UserInfo) GetGem() int32
- func (m *UserInfo) GetGender() bool
- func (m *UserInfo) GetGifts() map[string]int32
- func (m *UserInfo) GetGrowth() int32
- func (m *UserInfo) GetImei() string
- func (m *UserInfo) GetImsi() string
- func (m *UserInfo) GetIsguest() bool
- func (m *UserInfo) GetLevel() int32
- func (m *UserInfo) GetMac() string
- func (m *UserInfo) GetMedals() map[string]int32
- func (m *UserInfo) GetMtime() int64
- func (m *UserInfo) GetNick() string
- func (m *UserInfo) GetOnline() int32
- func (m *UserInfo) GetOthers() map[string]int32
- func (m *UserInfo) GetPassword() string
- func (m *UserInfo) GetPmodel() string
- func (m *UserInfo) GetProps() map[string]int32
- func (m *UserInfo) GetPsystem() string
- func (m *UserInfo) GetRecords() map[string]int32
- func (m *UserInfo) GetSigndate() int64
- func (m *UserInfo) GetStatus() bool
- func (m *UserInfo) GetTags() []string
- func (m *UserInfo) GetToken() string
- func (m *UserInfo) GetUid() int64
- func (m *UserInfo) GetUnionid() string
- func (m *UserInfo) GetUsername() string
- func (m *UserInfo) GetUuid() string
- func (m *UserInfo) GetVipexpiry() int64
- func (m *UserInfo) GetVipsigndate() int64
- func (m *UserInfo) GetViptype() int32
- func (m *UserInfo) GetVoucher() int32
- func (*UserInfo) ProtoMessage()
- func (m *UserInfo) Reset()
- func (m *UserInfo) String() string
- type UserServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterUserServer ¶
func RegisterUserServer(s *grpc.Server, srv UserServer)
Types ¶
type UserClient ¶
type UserClient interface {
GetUserInfo(ctx context.Context, in *UserId, opts ...grpc.CallOption) (*UserInfo, error)
}
func NewUserClient ¶
func NewUserClient(cc *grpc.ClientConn) UserClient
type UserId ¶
type UserId struct {
Uid int64 `protobuf:"varint,1,opt,name=uid" json:"uid,omitempty"`
}
func (*UserId) Descriptor ¶
func (*UserId) ProtoMessage ¶
func (*UserId) ProtoMessage()
type UserInfo ¶
type UserInfo struct { Uid int64 `protobuf:"varint,1,opt,name=uid" json:"uid,omitempty"` Unionid string `protobuf:"bytes,2,opt,name=unionid" json:"unionid,omitempty"` Uuid string `protobuf:"bytes,3,opt,name=uuid" json:"uuid,omitempty"` Username string `protobuf:"bytes,4,opt,name=username" json:"username,omitempty"` Password string `protobuf:"bytes,5,opt,name=password" json:"password,omitempty"` Nick string `protobuf:"bytes,6,opt,name=nick" json:"nick,omitempty"` Gender bool `protobuf:"varint,7,opt,name=gender" json:"gender,omitempty"` Addr string `protobuf:"bytes,8,opt,name=addr" json:"addr,omitempty"` Avatar string `protobuf:"bytes,9,opt,name=avatar" json:"avatar,omitempty"` Isguest bool `protobuf:"varint,10,opt,name=isguest" json:"isguest,omitempty"` Condays int32 `protobuf:"varint,11,opt,name=condays" json:"condays,omitempty"` Signdate int64 `protobuf:"varint,12,opt,name=signdate" json:"signdate,omitempty"` Vipsigndate int64 `protobuf:"varint,13,opt,name=vipsigndate" json:"vipsigndate,omitempty"` Status bool `protobuf:"varint,14,opt,name=status" json:"status,omitempty"` Mtime int64 `protobuf:"varint,15,opt,name=mtime" json:"mtime,omitempty"` Ctime int64 `protobuf:"varint,16,opt,name=ctime" json:"ctime,omitempty"` Token string `protobuf:"bytes,17,opt,name=token" json:"token,omitempty"` Bankpwd string `protobuf:"bytes,18,opt,name=bankpwd" json:"bankpwd,omitempty"` Forbid string `protobuf:"bytes,19,opt,name=forbid" json:"forbid,omitempty"` Imsi string `protobuf:"bytes,20,opt,name=imsi" json:"imsi,omitempty"` Imei string `protobuf:"bytes,21,opt,name=imei" json:"imei,omitempty"` Mac string `protobuf:"bytes,22,opt,name=mac" json:"mac,omitempty"` Did string `protobuf:"bytes,23,opt,name=did" json:"did,omitempty"` Psystem string `protobuf:"bytes,24,opt,name=psystem" json:"psystem,omitempty"` Pmodel string `protobuf:"bytes,25,opt,name=pmodel" json:"pmodel,omitempty"` Others map[string]int32 `` /* 134-byte string literal not displayed */ Coin int64 `protobuf:"varint,27,opt,name=coin" json:"coin,omitempty"` Gem int32 `protobuf:"varint,28,opt,name=gem" json:"gem,omitempty"` Bank int64 `protobuf:"varint,29,opt,name=bank" json:"bank,omitempty"` Growth int32 `protobuf:"varint,30,opt,name=growth" json:"growth,omitempty"` Level int32 `protobuf:"varint,31,opt,name=level" json:"level,omitempty"` Viptype int32 `protobuf:"varint,32,opt,name=viptype" json:"viptype,omitempty"` Vipexpiry int64 `protobuf:"varint,33,opt,name=vipexpiry" json:"vipexpiry,omitempty"` Voucher int32 `protobuf:"varint,34,opt,name=voucher" json:"voucher,omitempty"` Online int32 `protobuf:"varint,35,opt,name=online" json:"online,omitempty"` Props map[string]int32 `` /* 132-byte string literal not displayed */ Gifts map[string]int32 `` /* 132-byte string literal not displayed */ Medals map[string]int32 `` /* 134-byte string literal not displayed */ Friends []int64 `protobuf:"varint,39,rep,packed,name=friends" json:"friends,omitempty"` Tags []string `protobuf:"bytes,40,rep,name=tags" json:"tags,omitempty"` Records map[string]int32 `` /* 136-byte string literal not displayed */ Err string `protobuf:"bytes,99,opt,name=err" json:"err,omitempty"` }
func (*UserInfo) Descriptor ¶
func (*UserInfo) GetBankpwd ¶
func (*UserInfo) GetCondays ¶
func (*UserInfo) GetFriends ¶
func (*UserInfo) GetIsguest ¶
func (*UserInfo) GetPassword ¶
func (*UserInfo) GetPsystem ¶
func (*UserInfo) GetRecords ¶
func (*UserInfo) GetSigndate ¶
func (*UserInfo) GetUnionid ¶
func (*UserInfo) GetUsername ¶
func (*UserInfo) GetVipexpiry ¶
func (*UserInfo) GetVipsigndate ¶
func (*UserInfo) GetViptype ¶
func (*UserInfo) GetVoucher ¶
func (*UserInfo) ProtoMessage ¶
func (*UserInfo) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.