Documentation ¶
Index ¶
- Variables
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetCollege() string
- func (x *Session) GetExpireTime() int64
- func (x *Session) GetName() string
- func (x *Session) GetPassportName() string
- func (x *Session) GetSessionId() int64
- func (x *Session) GetUserId() int64
- func (x *Session) GetUserNumber() int64
- func (x *Session) GetUserType() int64
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_common_pb_session_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct { SessionId int64 `protobuf:"varint,1,opt,name=sessionId,proto3" json:"-"` UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"user_id"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"` PassportName string `protobuf:"bytes,4,opt,name=passportName,proto3" json:"passport_name"` College string `protobuf:"bytes,5,opt,name=college,proto3" json:"college"` UserType int64 `protobuf:"varint,6,opt,name=userType,proto3" json:"user_type"` UserNumber int64 `protobuf:"varint,7,opt,name=userNumber,proto3" json:"user_number"` ExpireTime int64 `protobuf:"varint,8,opt,name=expire_time,json=expireTime,proto3" json:"-"` // contains filtered or unexported fields }
func (*Session) Descriptor
deprecated
func (*Session) GetCollege ¶
func (*Session) GetExpireTime ¶
func (*Session) GetPassportName ¶
func (*Session) GetSessionId ¶
func (*Session) GetUserNumber ¶
func (*Session) GetUserType ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.