Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterHttpServiceServer(s grpc.ServiceRegistrar, srv HttpServiceServer)
- type AddAndUpdateShopItemByItemReq
- func (*AddAndUpdateShopItemByItemReq) Descriptor() ([]byte, []int)deprecated
- func (x *AddAndUpdateShopItemByItemReq) GetItem() *Item
- func (*AddAndUpdateShopItemByItemReq) ProtoMessage()
- func (x *AddAndUpdateShopItemByItemReq) ProtoReflect() protoreflect.Message
- func (x *AddAndUpdateShopItemByItemReq) Reset()
- func (x *AddAndUpdateShopItemByItemReq) String() string
- type AddAndUpdateShopItemByItemResp
- func (*AddAndUpdateShopItemByItemResp) Descriptor() ([]byte, []int)deprecated
- func (x *AddAndUpdateShopItemByItemResp) GetCode() int32
- func (x *AddAndUpdateShopItemByItemResp) GetId() int64
- func (x *AddAndUpdateShopItemByItemResp) GetMsg() string
- func (*AddAndUpdateShopItemByItemResp) ProtoMessage()
- func (x *AddAndUpdateShopItemByItemResp) ProtoReflect() protoreflect.Message
- func (x *AddAndUpdateShopItemByItemResp) Reset()
- func (x *AddAndUpdateShopItemByItemResp) String() string
- type CodeLoginReq
- type CodeLoginResp
- func (*CodeLoginResp) Descriptor() ([]byte, []int)deprecated
- func (x *CodeLoginResp) GetCode() int32
- func (x *CodeLoginResp) GetMsg() string
- func (x *CodeLoginResp) GetRefreshToken() string
- func (x *CodeLoginResp) GetToken() string
- func (x *CodeLoginResp) GetUserInfo() *UserInfo
- func (*CodeLoginResp) ProtoMessage()
- func (x *CodeLoginResp) ProtoReflect() protoreflect.Message
- func (x *CodeLoginResp) Reset()
- func (x *CodeLoginResp) String() string
- type DeleteShopItemReq
- func (*DeleteShopItemReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteShopItemReq) GetId() int64
- func (x *DeleteShopItemReq) GetItem() string
- func (*DeleteShopItemReq) ProtoMessage()
- func (x *DeleteShopItemReq) ProtoReflect() protoreflect.Message
- func (x *DeleteShopItemReq) Reset()
- func (x *DeleteShopItemReq) String() string
- type DeleteShopItemResp
- func (*DeleteShopItemResp) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteShopItemResp) GetCode() int32
- func (x *DeleteShopItemResp) GetMsg() string
- func (*DeleteShopItemResp) ProtoMessage()
- func (x *DeleteShopItemResp) ProtoReflect() protoreflect.Message
- func (x *DeleteShopItemResp) Reset()
- func (x *DeleteShopItemResp) String() string
- type GetShopItemAllReq
- type GetShopItemAllResp
- func (*GetShopItemAllResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetShopItemAllResp) GetCode() int32
- func (x *GetShopItemAllResp) GetMsg() string
- func (x *GetShopItemAllResp) GetQqGuild() string
- func (x *GetShopItemAllResp) GetShopName() string
- func (x *GetShopItemAllResp) GetStore() []*Item
- func (*GetShopItemAllResp) ProtoMessage()
- func (x *GetShopItemAllResp) ProtoReflect() protoreflect.Message
- func (x *GetShopItemAllResp) Reset()
- func (x *GetShopItemAllResp) String() string
- type HttpServiceClient
- type HttpServiceServer
- type Item
- func (*Item) Descriptor() ([]byte, []int)deprecated
- func (x *Item) GetBrand() string
- func (x *Item) GetChannelId() string
- func (x *Item) GetGmtModified() int64
- func (x *Item) GetGuildId() string
- func (x *Item) GetId() int64
- func (x *Item) GetIsMagnetism() bool
- func (x *Item) GetItem() string
- func (x *Item) GetMagnetismType() string
- func (x *Item) GetPrice() string
- func (x *Item) GetShipping() string
- func (x *Item) GetUpdater() string
- func (*Item) ProtoMessage()
- func (x *Item) ProtoReflect() protoreflect.Message
- func (x *Item) Reset()
- func (x *Item) String() string
- type LogoutReq
- type LogoutResp
- type UnimplementedHttpServiceServer
- func (UnimplementedHttpServiceServer) AddAndUpdateShopItemByItem(context.Context, *AddAndUpdateShopItemByItemReq) (*AddAndUpdateShopItemByItemResp, error)
- func (UnimplementedHttpServiceServer) DeleteShopItem(context.Context, *DeleteShopItemReq) (*DeleteShopItemResp, error)
- func (UnimplementedHttpServiceServer) GetShopItemAll(context.Context, *GetShopItemAllReq) (*GetShopItemAllResp, error)
- func (UnimplementedHttpServiceServer) Login(context.Context, *CodeLoginReq) (*CodeLoginResp, error)
- func (UnimplementedHttpServiceServer) Logout(context.Context, *LogoutReq) (*LogoutResp, error)
- type UnsafeHttpServiceServer
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfo) GetEmail() string
- func (x *UserInfo) GetQqUnionId() string
- func (x *UserInfo) GetServerNumber() string
- func (x *UserInfo) GetUserAvatar() string
- func (x *UserInfo) GetUserId() string
- func (x *UserInfo) GetUserName() string
- func (x *UserInfo) GetUserRole() int32
- func (x *UserInfo) GetWeixinUnionId() string
- func (*UserInfo) ProtoMessage()
- func (x *UserInfo) ProtoReflect() protoreflect.Message
- func (x *UserInfo) Reset()
- func (x *UserInfo) String() string
Constants ¶
const ( HttpService_Login_FullMethodName = "/dto.HttpService/Login" HttpService_Logout_FullMethodName = "/dto.HttpService/Logout" HttpService_GetShopItemAll_FullMethodName = "/dto.HttpService/GetShopItemAll" HttpService_DeleteShopItem_FullMethodName = "/dto.HttpService/DeleteShopItem" HttpService_AddAndUpdateShopItemByItem_FullMethodName = "/dto.HttpService/AddAndUpdateShopItemByItem" )
Variables ¶
var File_http_proto protoreflect.FileDescriptor
var HttpService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dto.HttpService", HandlerType: (*HttpServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _HttpService_Login_Handler, }, { MethodName: "Logout", Handler: _HttpService_Logout_Handler, }, { MethodName: "GetShopItemAll", Handler: _HttpService_GetShopItemAll_Handler, }, { MethodName: "DeleteShopItem", Handler: _HttpService_DeleteShopItem_Handler, }, { MethodName: "AddAndUpdateShopItemByItem", Handler: _HttpService_AddAndUpdateShopItemByItem_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "http.proto", }
HttpService_ServiceDesc is the grpc.ServiceDesc for HttpService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterHttpServiceServer ¶
func RegisterHttpServiceServer(s grpc.ServiceRegistrar, srv HttpServiceServer)
Types ¶
type AddAndUpdateShopItemByItemReq ¶
type AddAndUpdateShopItemByItemReq struct { Item *Item `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
func (*AddAndUpdateShopItemByItemReq) Descriptor
deprecated
func (*AddAndUpdateShopItemByItemReq) Descriptor() ([]byte, []int)
Deprecated: Use AddAndUpdateShopItemByItemReq.ProtoReflect.Descriptor instead.
func (*AddAndUpdateShopItemByItemReq) GetItem ¶
func (x *AddAndUpdateShopItemByItemReq) GetItem() *Item
func (*AddAndUpdateShopItemByItemReq) ProtoMessage ¶
func (*AddAndUpdateShopItemByItemReq) ProtoMessage()
func (*AddAndUpdateShopItemByItemReq) ProtoReflect ¶
func (x *AddAndUpdateShopItemByItemReq) ProtoReflect() protoreflect.Message
func (*AddAndUpdateShopItemByItemReq) Reset ¶
func (x *AddAndUpdateShopItemByItemReq) Reset()
func (*AddAndUpdateShopItemByItemReq) String ¶
func (x *AddAndUpdateShopItemByItemReq) String() string
type AddAndUpdateShopItemByItemResp ¶
type AddAndUpdateShopItemByItemResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AddAndUpdateShopItemByItemResp) Descriptor
deprecated
func (*AddAndUpdateShopItemByItemResp) Descriptor() ([]byte, []int)
Deprecated: Use AddAndUpdateShopItemByItemResp.ProtoReflect.Descriptor instead.
func (*AddAndUpdateShopItemByItemResp) GetCode ¶
func (x *AddAndUpdateShopItemByItemResp) GetCode() int32
func (*AddAndUpdateShopItemByItemResp) GetId ¶
func (x *AddAndUpdateShopItemByItemResp) GetId() int64
func (*AddAndUpdateShopItemByItemResp) GetMsg ¶
func (x *AddAndUpdateShopItemByItemResp) GetMsg() string
func (*AddAndUpdateShopItemByItemResp) ProtoMessage ¶
func (*AddAndUpdateShopItemByItemResp) ProtoMessage()
func (*AddAndUpdateShopItemByItemResp) ProtoReflect ¶
func (x *AddAndUpdateShopItemByItemResp) ProtoReflect() protoreflect.Message
func (*AddAndUpdateShopItemByItemResp) Reset ¶
func (x *AddAndUpdateShopItemByItemResp) Reset()
func (*AddAndUpdateShopItemByItemResp) String ¶
func (x *AddAndUpdateShopItemByItemResp) String() string
type CodeLoginReq ¶
type CodeLoginReq struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*CodeLoginReq) Descriptor
deprecated
func (*CodeLoginReq) Descriptor() ([]byte, []int)
Deprecated: Use CodeLoginReq.ProtoReflect.Descriptor instead.
func (*CodeLoginReq) GetCode ¶
func (x *CodeLoginReq) GetCode() string
func (*CodeLoginReq) ProtoMessage ¶
func (*CodeLoginReq) ProtoMessage()
func (*CodeLoginReq) ProtoReflect ¶
func (x *CodeLoginReq) ProtoReflect() protoreflect.Message
func (*CodeLoginReq) Reset ¶
func (x *CodeLoginReq) Reset()
func (*CodeLoginReq) String ¶
func (x *CodeLoginReq) String() string
type CodeLoginResp ¶
type CodeLoginResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` UserInfo *UserInfo `protobuf:"bytes,5,opt,name=user_info,json=userInfo,proto3" json:"user_info,omitempty"` // contains filtered or unexported fields }
func (*CodeLoginResp) Descriptor
deprecated
func (*CodeLoginResp) Descriptor() ([]byte, []int)
Deprecated: Use CodeLoginResp.ProtoReflect.Descriptor instead.
func (*CodeLoginResp) GetCode ¶
func (x *CodeLoginResp) GetCode() int32
func (*CodeLoginResp) GetMsg ¶
func (x *CodeLoginResp) GetMsg() string
func (*CodeLoginResp) GetRefreshToken ¶
func (x *CodeLoginResp) GetRefreshToken() string
func (*CodeLoginResp) GetToken ¶
func (x *CodeLoginResp) GetToken() string
func (*CodeLoginResp) GetUserInfo ¶
func (x *CodeLoginResp) GetUserInfo() *UserInfo
func (*CodeLoginResp) ProtoMessage ¶
func (*CodeLoginResp) ProtoMessage()
func (*CodeLoginResp) ProtoReflect ¶
func (x *CodeLoginResp) ProtoReflect() protoreflect.Message
func (*CodeLoginResp) Reset ¶
func (x *CodeLoginResp) Reset()
func (*CodeLoginResp) String ¶
func (x *CodeLoginResp) String() string
type DeleteShopItemReq ¶
type DeleteShopItemReq struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Item string `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
func (*DeleteShopItemReq) Descriptor
deprecated
func (*DeleteShopItemReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteShopItemReq.ProtoReflect.Descriptor instead.
func (*DeleteShopItemReq) GetId ¶
func (x *DeleteShopItemReq) GetId() int64
func (*DeleteShopItemReq) GetItem ¶
func (x *DeleteShopItemReq) GetItem() string
func (*DeleteShopItemReq) ProtoMessage ¶
func (*DeleteShopItemReq) ProtoMessage()
func (*DeleteShopItemReq) ProtoReflect ¶
func (x *DeleteShopItemReq) ProtoReflect() protoreflect.Message
func (*DeleteShopItemReq) Reset ¶
func (x *DeleteShopItemReq) Reset()
func (*DeleteShopItemReq) String ¶
func (x *DeleteShopItemReq) String() string
type DeleteShopItemResp ¶
type DeleteShopItemResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*DeleteShopItemResp) Descriptor
deprecated
func (*DeleteShopItemResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteShopItemResp.ProtoReflect.Descriptor instead.
func (*DeleteShopItemResp) GetCode ¶
func (x *DeleteShopItemResp) GetCode() int32
func (*DeleteShopItemResp) GetMsg ¶
func (x *DeleteShopItemResp) GetMsg() string
func (*DeleteShopItemResp) ProtoMessage ¶
func (*DeleteShopItemResp) ProtoMessage()
func (*DeleteShopItemResp) ProtoReflect ¶
func (x *DeleteShopItemResp) ProtoReflect() protoreflect.Message
func (*DeleteShopItemResp) Reset ¶
func (x *DeleteShopItemResp) Reset()
func (*DeleteShopItemResp) String ¶
func (x *DeleteShopItemResp) String() string
type GetShopItemAllReq ¶
type GetShopItemAllReq struct {
// contains filtered or unexported fields
}
func (*GetShopItemAllReq) Descriptor
deprecated
func (*GetShopItemAllReq) Descriptor() ([]byte, []int)
Deprecated: Use GetShopItemAllReq.ProtoReflect.Descriptor instead.
func (*GetShopItemAllReq) ProtoMessage ¶
func (*GetShopItemAllReq) ProtoMessage()
func (*GetShopItemAllReq) ProtoReflect ¶
func (x *GetShopItemAllReq) ProtoReflect() protoreflect.Message
func (*GetShopItemAllReq) Reset ¶
func (x *GetShopItemAllReq) Reset()
func (*GetShopItemAllReq) String ¶
func (x *GetShopItemAllReq) String() string
type GetShopItemAllResp ¶
type GetShopItemAllResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Store []*Item `protobuf:"bytes,3,rep,name=store,proto3" json:"store,omitempty"` ShopName string `protobuf:"bytes,4,opt,name=shop_name,json=shopName,proto3" json:"shop_name,omitempty"` QqGuild string `protobuf:"bytes,5,opt,name=qq_guild,json=qqGuild,proto3" json:"qq_guild,omitempty"` // contains filtered or unexported fields }
func (*GetShopItemAllResp) Descriptor
deprecated
func (*GetShopItemAllResp) Descriptor() ([]byte, []int)
Deprecated: Use GetShopItemAllResp.ProtoReflect.Descriptor instead.
func (*GetShopItemAllResp) GetCode ¶
func (x *GetShopItemAllResp) GetCode() int32
func (*GetShopItemAllResp) GetMsg ¶
func (x *GetShopItemAllResp) GetMsg() string
func (*GetShopItemAllResp) GetQqGuild ¶
func (x *GetShopItemAllResp) GetQqGuild() string
func (*GetShopItemAllResp) GetShopName ¶
func (x *GetShopItemAllResp) GetShopName() string
func (*GetShopItemAllResp) GetStore ¶
func (x *GetShopItemAllResp) GetStore() []*Item
func (*GetShopItemAllResp) ProtoMessage ¶
func (*GetShopItemAllResp) ProtoMessage()
func (*GetShopItemAllResp) ProtoReflect ¶
func (x *GetShopItemAllResp) ProtoReflect() protoreflect.Message
func (*GetShopItemAllResp) Reset ¶
func (x *GetShopItemAllResp) Reset()
func (*GetShopItemAllResp) String ¶
func (x *GetShopItemAllResp) String() string
type HttpServiceClient ¶
type HttpServiceClient interface { Login(ctx context.Context, in *CodeLoginReq, opts ...grpc.CallOption) (*CodeLoginResp, error) Logout(ctx context.Context, in *LogoutReq, opts ...grpc.CallOption) (*LogoutResp, error) GetShopItemAll(ctx context.Context, in *GetShopItemAllReq, opts ...grpc.CallOption) (*GetShopItemAllResp, error) DeleteShopItem(ctx context.Context, in *DeleteShopItemReq, opts ...grpc.CallOption) (*DeleteShopItemResp, error) AddAndUpdateShopItemByItem(ctx context.Context, in *AddAndUpdateShopItemByItemReq, opts ...grpc.CallOption) (*AddAndUpdateShopItemByItemResp, error) }
HttpServiceClient is the client API for HttpService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewHttpServiceClient ¶
func NewHttpServiceClient(cc grpc.ClientConnInterface) HttpServiceClient
type HttpServiceServer ¶
type HttpServiceServer interface { Login(context.Context, *CodeLoginReq) (*CodeLoginResp, error) Logout(context.Context, *LogoutReq) (*LogoutResp, error) GetShopItemAll(context.Context, *GetShopItemAllReq) (*GetShopItemAllResp, error) DeleteShopItem(context.Context, *DeleteShopItemReq) (*DeleteShopItemResp, error) AddAndUpdateShopItemByItem(context.Context, *AddAndUpdateShopItemByItemReq) (*AddAndUpdateShopItemByItemResp, error) // contains filtered or unexported methods }
HttpServiceServer is the server API for HttpService service. All implementations must embed UnimplementedHttpServiceServer for forward compatibility
type Item ¶
type Item struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` GuildId string `protobuf:"bytes,2,opt,name=guild_id,json=guildId,proto3" json:"guild_id,omitempty"` ChannelId string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` Brand string `protobuf:"bytes,4,opt,name=brand,proto3" json:"brand,omitempty"` Item string `protobuf:"bytes,5,opt,name=item,proto3" json:"item,omitempty"` Price string `protobuf:"bytes,6,opt,name=price,proto3" json:"price,omitempty"` Shipping string `protobuf:"bytes,7,opt,name=shipping,proto3" json:"shipping,omitempty"` Updater string `protobuf:"bytes,8,opt,name=updater,proto3" json:"updater,omitempty"` GmtModified int64 `protobuf:"varint,9,opt,name=gmt_modified,json=gmtModified,proto3" json:"gmt_modified,omitempty"` IsMagnetism bool `protobuf:"varint,10,opt,name=is_magnetism,json=isMagnetism,proto3" json:"is_magnetism,omitempty"` MagnetismType string `protobuf:"bytes,11,opt,name=magnetism_type,json=magnetismType,proto3" json:"magnetism_type,omitempty"` // contains filtered or unexported fields }
func (*Item) Descriptor
deprecated
func (*Item) GetChannelId ¶
func (*Item) GetGmtModified ¶
func (*Item) GetGuildId ¶
func (*Item) GetIsMagnetism ¶
func (*Item) GetMagnetismType ¶
func (*Item) GetShipping ¶
func (*Item) GetUpdater ¶
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) ProtoReflect ¶
func (x *Item) ProtoReflect() protoreflect.Message
type LogoutReq ¶
type LogoutReq struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*LogoutReq) Descriptor
deprecated
func (*LogoutReq) ProtoMessage ¶
func (*LogoutReq) ProtoMessage()
func (*LogoutReq) ProtoReflect ¶
func (x *LogoutReq) ProtoReflect() protoreflect.Message
type LogoutResp ¶
type LogoutResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*LogoutResp) Descriptor
deprecated
func (*LogoutResp) Descriptor() ([]byte, []int)
Deprecated: Use LogoutResp.ProtoReflect.Descriptor instead.
func (*LogoutResp) GetCode ¶
func (x *LogoutResp) GetCode() int32
func (*LogoutResp) GetMsg ¶
func (x *LogoutResp) GetMsg() string
func (*LogoutResp) ProtoMessage ¶
func (*LogoutResp) ProtoMessage()
func (*LogoutResp) ProtoReflect ¶
func (x *LogoutResp) ProtoReflect() protoreflect.Message
func (*LogoutResp) Reset ¶
func (x *LogoutResp) Reset()
func (*LogoutResp) String ¶
func (x *LogoutResp) String() string
type UnimplementedHttpServiceServer ¶
type UnimplementedHttpServiceServer struct { }
UnimplementedHttpServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedHttpServiceServer) AddAndUpdateShopItemByItem ¶
func (UnimplementedHttpServiceServer) AddAndUpdateShopItemByItem(context.Context, *AddAndUpdateShopItemByItemReq) (*AddAndUpdateShopItemByItemResp, error)
func (UnimplementedHttpServiceServer) DeleteShopItem ¶
func (UnimplementedHttpServiceServer) DeleteShopItem(context.Context, *DeleteShopItemReq) (*DeleteShopItemResp, error)
func (UnimplementedHttpServiceServer) GetShopItemAll ¶
func (UnimplementedHttpServiceServer) GetShopItemAll(context.Context, *GetShopItemAllReq) (*GetShopItemAllResp, error)
func (UnimplementedHttpServiceServer) Login ¶
func (UnimplementedHttpServiceServer) Login(context.Context, *CodeLoginReq) (*CodeLoginResp, error)
func (UnimplementedHttpServiceServer) Logout ¶
func (UnimplementedHttpServiceServer) Logout(context.Context, *LogoutReq) (*LogoutResp, error)
type UnsafeHttpServiceServer ¶
type UnsafeHttpServiceServer interface {
// contains filtered or unexported methods
}
UnsafeHttpServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HttpServiceServer will result in compilation errors.
type UserInfo ¶
type UserInfo struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` UserRole int32 `protobuf:"varint,3,opt,name=user_role,json=userRole,proto3" json:"user_role,omitempty"` UserAvatar string `protobuf:"bytes,4,opt,name=user_avatar,json=userAvatar,proto3" json:"user_avatar,omitempty"` ServerNumber string `protobuf:"bytes,5,opt,name=server_number,json=serverNumber,proto3" json:"server_number,omitempty"` Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"` QqUnionId string `protobuf:"bytes,7,opt,name=qq_union_id,json=qqUnionId,proto3" json:"qq_union_id,omitempty"` WeixinUnionId string `protobuf:"bytes,8,opt,name=weixin_union_id,json=weixinUnionId,proto3" json:"weixin_union_id,omitempty"` // contains filtered or unexported fields }
func (*UserInfo) Descriptor
deprecated
func (*UserInfo) GetQqUnionId ¶
func (*UserInfo) GetServerNumber ¶
func (*UserInfo) GetUserAvatar ¶
func (*UserInfo) GetUserName ¶
func (*UserInfo) GetUserRole ¶
func (*UserInfo) GetWeixinUnionId ¶
func (*UserInfo) ProtoMessage ¶
func (*UserInfo) ProtoMessage()
func (*UserInfo) ProtoReflect ¶
func (x *UserInfo) ProtoReflect() protoreflect.Message