Documentation
¶
Index ¶
- Variables
- func ErrorUnknownError(format string, args ...interface{}) *errors.Error
- func IsUnknownError(err error) bool
- func RegisterShopAdminHTTPServer(s *http.Server, srv ShopAdminHTTPServer)
- func RegisterShopAdminServer(s grpc.ServiceRegistrar, srv ShopAdminServer)
- type CreateGameReply
- func (*CreateGameReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGameReply) GetCount() int64
- func (x *CreateGameReply) GetDescription() string
- func (x *CreateGameReply) GetId() int64
- func (x *CreateGameReply) GetName() string
- func (*CreateGameReply) ProtoMessage()
- func (x *CreateGameReply) ProtoReflect() protoreflect.Message
- func (x *CreateGameReply) Reset()
- func (x *CreateGameReply) String() string
- type CreateGameReq
- func (*CreateGameReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGameReq) GetCount() int64
- func (x *CreateGameReq) GetDescription() string
- func (x *CreateGameReq) GetName() string
- func (*CreateGameReq) ProtoMessage()
- func (x *CreateGameReq) ProtoReflect() protoreflect.Message
- func (x *CreateGameReq) Reset()
- func (x *CreateGameReq) String() string
- type DeleteGameReply
- type DeleteGameReq
- type GetGameReply
- func (*GetGameReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetGameReply) GetCount() int64
- func (x *GetGameReply) GetDescription() string
- func (x *GetGameReply) GetId() int64
- func (x *GetGameReply) GetName() string
- func (*GetGameReply) ProtoMessage()
- func (x *GetGameReply) ProtoReflect() protoreflect.Message
- func (x *GetGameReply) Reset()
- func (x *GetGameReply) String() string
- type GetGameReq
- type ListGameReply
- type ListGameReply_Game
- func (*ListGameReply_Game) Descriptor() ([]byte, []int)deprecated
- func (x *ListGameReply_Game) GetCount() int64
- func (x *ListGameReply_Game) GetDescription() string
- func (x *ListGameReply_Game) GetId() int64
- func (x *ListGameReply_Game) GetName() string
- func (*ListGameReply_Game) ProtoMessage()
- func (x *ListGameReply_Game) ProtoReflect() protoreflect.Message
- func (x *ListGameReply_Game) Reset()
- func (x *ListGameReply_Game) String() string
- type ListGameReq
- func (*ListGameReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListGameReq) GetPageNum() int64
- func (x *ListGameReq) GetPageSize() int64
- func (*ListGameReq) ProtoMessage()
- func (x *ListGameReq) ProtoReflect() protoreflect.Message
- func (x *ListGameReq) Reset()
- func (x *ListGameReq) String() string
- type ShopAdminClient
- type ShopAdminErrorReason
- func (ShopAdminErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x ShopAdminErrorReason) Enum() *ShopAdminErrorReason
- func (ShopAdminErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ShopAdminErrorReason) Number() protoreflect.EnumNumber
- func (x ShopAdminErrorReason) String() string
- func (ShopAdminErrorReason) Type() protoreflect.EnumType
- type ShopAdminHTTPClient
- type ShopAdminHTTPClientImpl
- func (c *ShopAdminHTTPClientImpl) CreateGame(ctx context.Context, in *CreateGameReq, opts ...http.CallOption) (*CreateGameReply, error)
- func (c *ShopAdminHTTPClientImpl) DeleteGame(ctx context.Context, in *DeleteGameReq, opts ...http.CallOption) (*DeleteGameReply, error)
- func (c *ShopAdminHTTPClientImpl) GetGame(ctx context.Context, in *GetGameReq, opts ...http.CallOption) (*GetGameReply, error)
- func (c *ShopAdminHTTPClientImpl) ListGame(ctx context.Context, in *ListGameReq, opts ...http.CallOption) (*ListGameReply, error)
- func (c *ShopAdminHTTPClientImpl) UpdateGame(ctx context.Context, in *UpdateGameReq, opts ...http.CallOption) (*UpdateGameReply, error)
- type ShopAdminHTTPServer
- type ShopAdminServer
- type UnimplementedShopAdminServer
- func (UnimplementedShopAdminServer) CreateGame(context.Context, *CreateGameReq) (*CreateGameReply, error)
- func (UnimplementedShopAdminServer) DeleteGame(context.Context, *DeleteGameReq) (*DeleteGameReply, error)
- func (UnimplementedShopAdminServer) GetGame(context.Context, *GetGameReq) (*GetGameReply, error)
- func (UnimplementedShopAdminServer) ListGame(context.Context, *ListGameReq) (*ListGameReply, error)
- func (UnimplementedShopAdminServer) UpdateGame(context.Context, *UpdateGameReq) (*UpdateGameReply, error)
- type UnsafeShopAdminServer
- type UpdateGameReply
- func (*UpdateGameReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGameReply) GetCount() int64
- func (x *UpdateGameReply) GetDescription() string
- func (x *UpdateGameReply) GetId() int64
- func (x *UpdateGameReply) GetName() string
- func (*UpdateGameReply) ProtoMessage()
- func (x *UpdateGameReply) ProtoReflect() protoreflect.Message
- func (x *UpdateGameReply) Reset()
- func (x *UpdateGameReply) String() string
- type UpdateGameReq
- func (*UpdateGameReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGameReq) GetCount() int64
- func (x *UpdateGameReq) GetDescription() string
- func (x *UpdateGameReq) GetId() int64
- func (x *UpdateGameReq) GetName() string
- func (*UpdateGameReq) ProtoMessage()
- func (x *UpdateGameReq) ProtoReflect() protoreflect.Message
- func (x *UpdateGameReq) Reset()
- func (x *UpdateGameReq) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ShopAdminErrorReason_name = map[int32]string{ 0: "UNKNOWN_ERROR", } ShopAdminErrorReason_value = map[string]int32{ "UNKNOWN_ERROR": 0, } )
Enum value maps for ShopAdminErrorReason.
var File_api_bff_admin_v1_shop_admin_error_proto protoreflect.FileDescriptor
var File_api_bff_admin_v1_shop_admin_proto protoreflect.FileDescriptor
var ShopAdmin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "shop.admin.v1.ShopAdmin", HandlerType: (*ShopAdminServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListGame", Handler: _ShopAdmin_ListGame_Handler, }, { MethodName: "CreateGame", Handler: _ShopAdmin_CreateGame_Handler, }, { MethodName: "UpdateGame", Handler: _ShopAdmin_UpdateGame_Handler, }, { MethodName: "DeleteGame", Handler: _ShopAdmin_DeleteGame_Handler, }, { MethodName: "GetGame", Handler: _ShopAdmin_GetGame_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/bff/admin/v1/shop_admin.proto", }
ShopAdmin_ServiceDesc is the grpc.ServiceDesc for ShopAdmin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func ErrorUnknownError ¶
func IsUnknownError ¶
func RegisterShopAdminHTTPServer ¶
func RegisterShopAdminHTTPServer(s *http.Server, srv ShopAdminHTTPServer)
func RegisterShopAdminServer ¶
func RegisterShopAdminServer(s grpc.ServiceRegistrar, srv ShopAdminServer)
Types ¶
type CreateGameReply ¶
type CreateGameReply struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*CreateGameReply) Descriptor
deprecated
func (*CreateGameReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateGameReply.ProtoReflect.Descriptor instead.
func (*CreateGameReply) GetCount ¶
func (x *CreateGameReply) GetCount() int64
func (*CreateGameReply) GetDescription ¶
func (x *CreateGameReply) GetDescription() string
func (*CreateGameReply) GetId ¶
func (x *CreateGameReply) GetId() int64
func (*CreateGameReply) GetName ¶
func (x *CreateGameReply) GetName() string
func (*CreateGameReply) ProtoMessage ¶
func (*CreateGameReply) ProtoMessage()
func (*CreateGameReply) ProtoReflect ¶
func (x *CreateGameReply) ProtoReflect() protoreflect.Message
func (*CreateGameReply) Reset ¶
func (x *CreateGameReply) Reset()
func (*CreateGameReply) String ¶
func (x *CreateGameReply) String() string
type CreateGameReq ¶
type CreateGameReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*CreateGameReq) Descriptor
deprecated
func (*CreateGameReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateGameReq.ProtoReflect.Descriptor instead.
func (*CreateGameReq) GetCount ¶
func (x *CreateGameReq) GetCount() int64
func (*CreateGameReq) GetDescription ¶
func (x *CreateGameReq) GetDescription() string
func (*CreateGameReq) GetName ¶
func (x *CreateGameReq) GetName() string
func (*CreateGameReq) ProtoMessage ¶
func (*CreateGameReq) ProtoMessage()
func (*CreateGameReq) ProtoReflect ¶
func (x *CreateGameReq) ProtoReflect() protoreflect.Message
func (*CreateGameReq) Reset ¶
func (x *CreateGameReq) Reset()
func (*CreateGameReq) String ¶
func (x *CreateGameReq) String() string
type DeleteGameReply ¶
type DeleteGameReply struct {
// contains filtered or unexported fields
}
func (*DeleteGameReply) Descriptor
deprecated
func (*DeleteGameReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGameReply.ProtoReflect.Descriptor instead.
func (*DeleteGameReply) ProtoMessage ¶
func (*DeleteGameReply) ProtoMessage()
func (*DeleteGameReply) ProtoReflect ¶
func (x *DeleteGameReply) ProtoReflect() protoreflect.Message
func (*DeleteGameReply) Reset ¶
func (x *DeleteGameReply) Reset()
func (*DeleteGameReply) String ¶
func (x *DeleteGameReply) String() string
type DeleteGameReq ¶
type DeleteGameReq struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteGameReq) Descriptor
deprecated
func (*DeleteGameReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGameReq.ProtoReflect.Descriptor instead.
func (*DeleteGameReq) GetId ¶
func (x *DeleteGameReq) GetId() int64
func (*DeleteGameReq) ProtoMessage ¶
func (*DeleteGameReq) ProtoMessage()
func (*DeleteGameReq) ProtoReflect ¶
func (x *DeleteGameReq) ProtoReflect() protoreflect.Message
func (*DeleteGameReq) Reset ¶
func (x *DeleteGameReq) Reset()
func (*DeleteGameReq) String ¶
func (x *DeleteGameReq) String() string
type GetGameReply ¶
type GetGameReply struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*GetGameReply) Descriptor
deprecated
func (*GetGameReply) Descriptor() ([]byte, []int)
Deprecated: Use GetGameReply.ProtoReflect.Descriptor instead.
func (*GetGameReply) GetCount ¶
func (x *GetGameReply) GetCount() int64
func (*GetGameReply) GetDescription ¶
func (x *GetGameReply) GetDescription() string
func (*GetGameReply) GetId ¶
func (x *GetGameReply) GetId() int64
func (*GetGameReply) GetName ¶
func (x *GetGameReply) GetName() string
func (*GetGameReply) ProtoMessage ¶
func (*GetGameReply) ProtoMessage()
func (*GetGameReply) ProtoReflect ¶
func (x *GetGameReply) ProtoReflect() protoreflect.Message
func (*GetGameReply) Reset ¶
func (x *GetGameReply) Reset()
func (*GetGameReply) String ¶
func (x *GetGameReply) String() string
type GetGameReq ¶
type GetGameReq struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetGameReq) Descriptor
deprecated
func (*GetGameReq) Descriptor() ([]byte, []int)
Deprecated: Use GetGameReq.ProtoReflect.Descriptor instead.
func (*GetGameReq) GetId ¶
func (x *GetGameReq) GetId() int64
func (*GetGameReq) ProtoMessage ¶
func (*GetGameReq) ProtoMessage()
func (*GetGameReq) ProtoReflect ¶
func (x *GetGameReq) ProtoReflect() protoreflect.Message
func (*GetGameReq) Reset ¶
func (x *GetGameReq) Reset()
func (*GetGameReq) String ¶
func (x *GetGameReq) String() string
type ListGameReply ¶
type ListGameReply struct { Results []*ListGameReply_Game `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*ListGameReply) Descriptor
deprecated
func (*ListGameReply) Descriptor() ([]byte, []int)
Deprecated: Use ListGameReply.ProtoReflect.Descriptor instead.
func (*ListGameReply) GetResults ¶
func (x *ListGameReply) GetResults() []*ListGameReply_Game
func (*ListGameReply) ProtoMessage ¶
func (*ListGameReply) ProtoMessage()
func (*ListGameReply) ProtoReflect ¶
func (x *ListGameReply) ProtoReflect() protoreflect.Message
func (*ListGameReply) Reset ¶
func (x *ListGameReply) Reset()
func (*ListGameReply) String ¶
func (x *ListGameReply) String() string
type ListGameReply_Game ¶
type ListGameReply_Game struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*ListGameReply_Game) Descriptor
deprecated
func (*ListGameReply_Game) Descriptor() ([]byte, []int)
Deprecated: Use ListGameReply_Game.ProtoReflect.Descriptor instead.
func (*ListGameReply_Game) GetCount ¶
func (x *ListGameReply_Game) GetCount() int64
func (*ListGameReply_Game) GetDescription ¶
func (x *ListGameReply_Game) GetDescription() string
func (*ListGameReply_Game) GetId ¶
func (x *ListGameReply_Game) GetId() int64
func (*ListGameReply_Game) GetName ¶
func (x *ListGameReply_Game) GetName() string
func (*ListGameReply_Game) ProtoMessage ¶
func (*ListGameReply_Game) ProtoMessage()
func (*ListGameReply_Game) ProtoReflect ¶
func (x *ListGameReply_Game) ProtoReflect() protoreflect.Message
func (*ListGameReply_Game) Reset ¶
func (x *ListGameReply_Game) Reset()
func (*ListGameReply_Game) String ¶
func (x *ListGameReply_Game) String() string
type ListGameReq ¶
type ListGameReq struct { PageNum int64 `protobuf:"varint,1,opt,name=page_num,json=pageNum,proto3" json:"page_num,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*ListGameReq) Descriptor
deprecated
func (*ListGameReq) Descriptor() ([]byte, []int)
Deprecated: Use ListGameReq.ProtoReflect.Descriptor instead.
func (*ListGameReq) GetPageNum ¶
func (x *ListGameReq) GetPageNum() int64
func (*ListGameReq) GetPageSize ¶
func (x *ListGameReq) GetPageSize() int64
func (*ListGameReq) ProtoMessage ¶
func (*ListGameReq) ProtoMessage()
func (*ListGameReq) ProtoReflect ¶
func (x *ListGameReq) ProtoReflect() protoreflect.Message
func (*ListGameReq) Reset ¶
func (x *ListGameReq) Reset()
func (*ListGameReq) String ¶
func (x *ListGameReq) String() string
type ShopAdminClient ¶
type ShopAdminClient interface { ListGame(ctx context.Context, in *ListGameReq, opts ...grpc.CallOption) (*ListGameReply, error) CreateGame(ctx context.Context, in *CreateGameReq, opts ...grpc.CallOption) (*CreateGameReply, error) UpdateGame(ctx context.Context, in *UpdateGameReq, opts ...grpc.CallOption) (*UpdateGameReply, error) DeleteGame(ctx context.Context, in *DeleteGameReq, opts ...grpc.CallOption) (*DeleteGameReply, error) GetGame(ctx context.Context, in *GetGameReq, opts ...grpc.CallOption) (*GetGameReply, error) }
ShopAdminClient is the client API for ShopAdmin 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 NewShopAdminClient ¶
func NewShopAdminClient(cc grpc.ClientConnInterface) ShopAdminClient
type ShopAdminErrorReason ¶
type ShopAdminErrorReason int32
const (
ShopAdminErrorReason_UNKNOWN_ERROR ShopAdminErrorReason = 0
)
func (ShopAdminErrorReason) Descriptor ¶
func (ShopAdminErrorReason) Descriptor() protoreflect.EnumDescriptor
func (ShopAdminErrorReason) Enum ¶
func (x ShopAdminErrorReason) Enum() *ShopAdminErrorReason
func (ShopAdminErrorReason) EnumDescriptor
deprecated
func (ShopAdminErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ShopAdminErrorReason.Descriptor instead.
func (ShopAdminErrorReason) Number ¶
func (x ShopAdminErrorReason) Number() protoreflect.EnumNumber
func (ShopAdminErrorReason) String ¶
func (x ShopAdminErrorReason) String() string
func (ShopAdminErrorReason) Type ¶
func (ShopAdminErrorReason) Type() protoreflect.EnumType
type ShopAdminHTTPClient ¶
type ShopAdminHTTPClient interface { CreateGame(ctx context.Context, req *CreateGameReq, opts ...http.CallOption) (rsp *CreateGameReply, err error) DeleteGame(ctx context.Context, req *DeleteGameReq, opts ...http.CallOption) (rsp *DeleteGameReply, err error) GetGame(ctx context.Context, req *GetGameReq, opts ...http.CallOption) (rsp *GetGameReply, err error) ListGame(ctx context.Context, req *ListGameReq, opts ...http.CallOption) (rsp *ListGameReply, err error) UpdateGame(ctx context.Context, req *UpdateGameReq, opts ...http.CallOption) (rsp *UpdateGameReply, err error) }
func NewShopAdminHTTPClient ¶
func NewShopAdminHTTPClient(client *http.Client) ShopAdminHTTPClient
type ShopAdminHTTPClientImpl ¶
type ShopAdminHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ShopAdminHTTPClientImpl) CreateGame ¶
func (c *ShopAdminHTTPClientImpl) CreateGame(ctx context.Context, in *CreateGameReq, opts ...http.CallOption) (*CreateGameReply, error)
func (*ShopAdminHTTPClientImpl) DeleteGame ¶
func (c *ShopAdminHTTPClientImpl) DeleteGame(ctx context.Context, in *DeleteGameReq, opts ...http.CallOption) (*DeleteGameReply, error)
func (*ShopAdminHTTPClientImpl) GetGame ¶
func (c *ShopAdminHTTPClientImpl) GetGame(ctx context.Context, in *GetGameReq, opts ...http.CallOption) (*GetGameReply, error)
func (*ShopAdminHTTPClientImpl) ListGame ¶
func (c *ShopAdminHTTPClientImpl) ListGame(ctx context.Context, in *ListGameReq, opts ...http.CallOption) (*ListGameReply, error)
func (*ShopAdminHTTPClientImpl) UpdateGame ¶
func (c *ShopAdminHTTPClientImpl) UpdateGame(ctx context.Context, in *UpdateGameReq, opts ...http.CallOption) (*UpdateGameReply, error)
type ShopAdminHTTPServer ¶
type ShopAdminHTTPServer interface { CreateGame(context.Context, *CreateGameReq) (*CreateGameReply, error) DeleteGame(context.Context, *DeleteGameReq) (*DeleteGameReply, error) GetGame(context.Context, *GetGameReq) (*GetGameReply, error) ListGame(context.Context, *ListGameReq) (*ListGameReply, error) UpdateGame(context.Context, *UpdateGameReq) (*UpdateGameReply, error) }
type ShopAdminServer ¶
type ShopAdminServer interface { ListGame(context.Context, *ListGameReq) (*ListGameReply, error) CreateGame(context.Context, *CreateGameReq) (*CreateGameReply, error) UpdateGame(context.Context, *UpdateGameReq) (*UpdateGameReply, error) DeleteGame(context.Context, *DeleteGameReq) (*DeleteGameReply, error) GetGame(context.Context, *GetGameReq) (*GetGameReply, error) // contains filtered or unexported methods }
ShopAdminServer is the server API for ShopAdmin service. All implementations must embed UnimplementedShopAdminServer for forward compatibility
type UnimplementedShopAdminServer ¶
type UnimplementedShopAdminServer struct { }
UnimplementedShopAdminServer must be embedded to have forward compatible implementations.
func (UnimplementedShopAdminServer) CreateGame ¶
func (UnimplementedShopAdminServer) CreateGame(context.Context, *CreateGameReq) (*CreateGameReply, error)
func (UnimplementedShopAdminServer) DeleteGame ¶
func (UnimplementedShopAdminServer) DeleteGame(context.Context, *DeleteGameReq) (*DeleteGameReply, error)
func (UnimplementedShopAdminServer) GetGame ¶
func (UnimplementedShopAdminServer) GetGame(context.Context, *GetGameReq) (*GetGameReply, error)
func (UnimplementedShopAdminServer) ListGame ¶
func (UnimplementedShopAdminServer) ListGame(context.Context, *ListGameReq) (*ListGameReply, error)
func (UnimplementedShopAdminServer) UpdateGame ¶
func (UnimplementedShopAdminServer) UpdateGame(context.Context, *UpdateGameReq) (*UpdateGameReply, error)
type UnsafeShopAdminServer ¶
type UnsafeShopAdminServer interface {
// contains filtered or unexported methods
}
UnsafeShopAdminServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ShopAdminServer will result in compilation errors.
type UpdateGameReply ¶
type UpdateGameReply struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*UpdateGameReply) Descriptor
deprecated
func (*UpdateGameReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGameReply.ProtoReflect.Descriptor instead.
func (*UpdateGameReply) GetCount ¶
func (x *UpdateGameReply) GetCount() int64
func (*UpdateGameReply) GetDescription ¶
func (x *UpdateGameReply) GetDescription() string
func (*UpdateGameReply) GetId ¶
func (x *UpdateGameReply) GetId() int64
func (*UpdateGameReply) GetName ¶
func (x *UpdateGameReply) GetName() string
func (*UpdateGameReply) ProtoMessage ¶
func (*UpdateGameReply) ProtoMessage()
func (*UpdateGameReply) ProtoReflect ¶
func (x *UpdateGameReply) ProtoReflect() protoreflect.Message
func (*UpdateGameReply) Reset ¶
func (x *UpdateGameReply) Reset()
func (*UpdateGameReply) String ¶
func (x *UpdateGameReply) String() string
type UpdateGameReq ¶
type UpdateGameReq struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*UpdateGameReq) Descriptor
deprecated
func (*UpdateGameReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGameReq.ProtoReflect.Descriptor instead.
func (*UpdateGameReq) GetCount ¶
func (x *UpdateGameReq) GetCount() int64
func (*UpdateGameReq) GetDescription ¶
func (x *UpdateGameReq) GetDescription() string
func (*UpdateGameReq) GetId ¶
func (x *UpdateGameReq) GetId() int64
func (*UpdateGameReq) GetName ¶
func (x *UpdateGameReq) GetName() string
func (*UpdateGameReq) ProtoMessage ¶
func (*UpdateGameReq) ProtoMessage()
func (*UpdateGameReq) ProtoReflect ¶
func (x *UpdateGameReq) ProtoReflect() protoreflect.Message
func (*UpdateGameReq) Reset ¶
func (x *UpdateGameReq) Reset()
func (*UpdateGameReq) String ¶
func (x *UpdateGameReq) String() string