Documentation ¶
Overview ¶
Package adventuresv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterAdventureServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAdventureServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AdventureServiceClient) error
- func RegisterAdventureServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAdventureServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AdventureServiceServer) error
- func RegisterAdventureServiceServer(s grpc.ServiceRegistrar, srv AdventureServiceServer)
- type Adventure
- func (*Adventure) Descriptor() ([]byte, []int)deprecated
- func (x *Adventure) GetAssaH() float32
- func (x *Adventure) GetAssaX() float32
- func (x *Adventure) GetAssaY() float32
- func (x *Adventure) GetAssaZ() float32
- func (x *Adventure) GetDestH() int32
- func (x *Adventure) GetDestX() int32
- func (x *Adventure) GetDestY() int32
- func (x *Adventure) GetDestZ() int32
- func (x *Adventure) GetDuration() int32
- func (x *Adventure) GetEntries() []*AdventureEntry
- func (x *Adventure) GetGraveyardRadius() int32
- func (x *Adventure) GetGraveyardX() int32
- func (x *Adventure) GetGraveyardY() int32
- func (x *Adventure) GetGraveyardZ() int32
- func (x *Adventure) GetGraveyardZoneId() int32
- func (x *Adventure) GetId() int32
- func (x *Adventure) GetIsHard() bool
- func (x *Adventure) GetIsRaid() bool
- func (x *Adventure) GetLosePoints() int32
- func (x *Adventure) GetMaxLevel() int32
- func (x *Adventure) GetMinLevel() int32
- func (x *Adventure) GetText() string
- func (x *Adventure) GetTheme() int32
- func (x *Adventure) GetType() int32
- func (x *Adventure) GetTypeCount() int32
- func (x *Adventure) GetTypeData() int32
- func (x *Adventure) GetWinPoints() int32
- func (x *Adventure) GetZone() string
- func (x *Adventure) GetZoneInObjectId() int32
- func (x *Adventure) GetZoneInTime() int32
- func (x *Adventure) GetZoneInX() int32
- func (x *Adventure) GetZoneInY() int32
- func (x *Adventure) GetZoneInZ() int32
- func (x *Adventure) GetZoneInZoneId() int32
- func (x *Adventure) GetZoneVersion() int32
- func (*Adventure) ProtoMessage()
- func (x *Adventure) ProtoReflect() protoreflect.Message
- func (x *Adventure) Reset()
- func (x *Adventure) String() string
- type AdventureEntry
- func (*AdventureEntry) Descriptor() ([]byte, []int)deprecated
- func (x *AdventureEntry) GetId() int32
- func (x *AdventureEntry) GetTemplateId() int32
- func (*AdventureEntry) ProtoMessage()
- func (x *AdventureEntry) ProtoReflect() protoreflect.Message
- func (x *AdventureEntry) Reset()
- func (x *AdventureEntry) String() string
- type AdventureServiceClient
- type AdventureServiceServer
- type AdventureService_ListAdventuresClient
- type AdventureService_ListAdventuresServer
- type CreateAdventureRequest
- func (*CreateAdventureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAdventureRequest) GetAdventure() *Adventure
- func (*CreateAdventureRequest) ProtoMessage()
- func (x *CreateAdventureRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAdventureRequest) Reset()
- func (x *CreateAdventureRequest) String() string
- type CreateAdventureResponse
- func (*CreateAdventureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAdventureResponse) GetAdventure() *Adventure
- func (*CreateAdventureResponse) ProtoMessage()
- func (x *CreateAdventureResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAdventureResponse) Reset()
- func (x *CreateAdventureResponse) String() string
- type DeleteAdventureRequest
- func (*DeleteAdventureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAdventureRequest) GetId() int32
- func (*DeleteAdventureRequest) ProtoMessage()
- func (x *DeleteAdventureRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAdventureRequest) Reset()
- func (x *DeleteAdventureRequest) String() string
- type DeleteAdventureResponse
- func (*DeleteAdventureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAdventureResponse) GetAdventure() *Adventure
- func (*DeleteAdventureResponse) ProtoMessage()
- func (x *DeleteAdventureResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteAdventureResponse) Reset()
- func (x *DeleteAdventureResponse) String() string
- type GetAdventureRequest
- func (*GetAdventureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAdventureRequest) GetId() int32
- func (*GetAdventureRequest) ProtoMessage()
- func (x *GetAdventureRequest) ProtoReflect() protoreflect.Message
- func (x *GetAdventureRequest) Reset()
- func (x *GetAdventureRequest) String() string
- type GetAdventureResponse
- func (*GetAdventureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAdventureResponse) GetAdventure() *Adventure
- func (*GetAdventureResponse) ProtoMessage()
- func (x *GetAdventureResponse) ProtoReflect() protoreflect.Message
- func (x *GetAdventureResponse) Reset()
- func (x *GetAdventureResponse) String() string
- type ListAdventuresRequest
- type ListAdventuresResponse
- func (*ListAdventuresResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAdventuresResponse) GetAdventure() *Adventure
- func (*ListAdventuresResponse) ProtoMessage()
- func (x *ListAdventuresResponse) ProtoReflect() protoreflect.Message
- func (x *ListAdventuresResponse) Reset()
- func (x *ListAdventuresResponse) String() string
- type UnimplementedAdventureServiceServer
- func (UnimplementedAdventureServiceServer) CreateAdventure(context.Context, *CreateAdventureRequest) (*CreateAdventureResponse, error)
- func (UnimplementedAdventureServiceServer) DeleteAdventure(context.Context, *DeleteAdventureRequest) (*DeleteAdventureResponse, error)
- func (UnimplementedAdventureServiceServer) GetAdventure(context.Context, *GetAdventureRequest) (*GetAdventureResponse, error)
- func (UnimplementedAdventureServiceServer) ListAdventures(*ListAdventuresRequest, AdventureService_ListAdventuresServer) error
- func (UnimplementedAdventureServiceServer) UpdateAdventure(context.Context, *UpdateAdventureRequest) (*UpdateAdventureResponse, error)
- type UnsafeAdventureServiceServer
- type UpdateAdventureRequest
- func (*UpdateAdventureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAdventureRequest) GetAdventure() *Adventure
- func (x *UpdateAdventureRequest) GetId() int32
- func (*UpdateAdventureRequest) ProtoMessage()
- func (x *UpdateAdventureRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAdventureRequest) Reset()
- func (x *UpdateAdventureRequest) String() string
- type UpdateAdventureResponse
- func (*UpdateAdventureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAdventureResponse) GetAdventure() *Adventure
- func (*UpdateAdventureResponse) ProtoMessage()
- func (x *UpdateAdventureResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateAdventureResponse) Reset()
- func (x *UpdateAdventureResponse) String() string
Constants ¶
const ( AdventureService_ListAdventures_FullMethodName = "/adventures.v1.AdventureService/ListAdventures" AdventureService_CreateAdventure_FullMethodName = "/adventures.v1.AdventureService/CreateAdventure" AdventureService_GetAdventure_FullMethodName = "/adventures.v1.AdventureService/GetAdventure" AdventureService_UpdateAdventure_FullMethodName = "/adventures.v1.AdventureService/UpdateAdventure" AdventureService_DeleteAdventure_FullMethodName = "/adventures.v1.AdventureService/DeleteAdventure" )
Variables ¶
var AdventureService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "adventures.v1.AdventureService", HandlerType: (*AdventureServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateAdventure", Handler: _AdventureService_CreateAdventure_Handler, }, { MethodName: "GetAdventure", Handler: _AdventureService_GetAdventure_Handler, }, { MethodName: "UpdateAdventure", Handler: _AdventureService_UpdateAdventure_Handler, }, { MethodName: "DeleteAdventure", Handler: _AdventureService_DeleteAdventure_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ListAdventures", Handler: _AdventureService_ListAdventures_Handler, ServerStreams: true, }, }, Metadata: "adventures/v1/adventures.proto", }
AdventureService_ServiceDesc is the grpc.ServiceDesc for AdventureService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_adventures_v1_adventures_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAdventureServiceHandler ¶
func RegisterAdventureServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAdventureServiceHandler registers the http handlers for service AdventureService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAdventureServiceHandlerClient ¶
func RegisterAdventureServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AdventureServiceClient) error
RegisterAdventureServiceHandlerClient registers the http handlers for service AdventureService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AdventureServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AdventureServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AdventureServiceClient" to call the correct interceptors.
func RegisterAdventureServiceHandlerFromEndpoint ¶
func RegisterAdventureServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAdventureServiceHandlerFromEndpoint is same as RegisterAdventureServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAdventureServiceHandlerServer ¶
func RegisterAdventureServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AdventureServiceServer) error
RegisterAdventureServiceHandlerServer registers the http handlers for service AdventureService to "mux". UnaryRPC :call AdventureServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAdventureServiceHandlerFromEndpoint instead.
func RegisterAdventureServiceServer ¶
func RegisterAdventureServiceServer(s grpc.ServiceRegistrar, srv AdventureServiceServer)
Types ¶
type Adventure ¶
type Adventure struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` ZoneVersion int32 `protobuf:"varint,3,opt,name=zone_version,json=zoneVersion,proto3" json:"zone_version,omitempty"` IsHard bool `protobuf:"varint,4,opt,name=is_hard,json=isHard,proto3" json:"is_hard,omitempty"` IsRaid bool `protobuf:"varint,5,opt,name=is_raid,json=isRaid,proto3" json:"is_raid,omitempty"` MinLevel int32 `protobuf:"varint,6,opt,name=min_level,json=minLevel,proto3" json:"min_level,omitempty"` MaxLevel int32 `protobuf:"varint,7,opt,name=max_level,json=maxLevel,proto3" json:"max_level,omitempty"` Type int32 `protobuf:"varint,8,opt,name=type,proto3" json:"type,omitempty"` TypeData int32 `protobuf:"varint,9,opt,name=type_data,json=typeData,proto3" json:"type_data,omitempty"` TypeCount int32 `protobuf:"varint,10,opt,name=type_count,json=typeCount,proto3" json:"type_count,omitempty"` AssaX float32 `protobuf:"fixed32,11,opt,name=assa_x,json=assaX,proto3" json:"assa_x,omitempty"` AssaY float32 `protobuf:"fixed32,12,opt,name=assa_y,json=assaY,proto3" json:"assa_y,omitempty"` AssaZ float32 `protobuf:"fixed32,13,opt,name=assa_z,json=assaZ,proto3" json:"assa_z,omitempty"` AssaH float32 `protobuf:"fixed32,14,opt,name=assa_h,json=assaH,proto3" json:"assa_h,omitempty"` Text string `protobuf:"bytes,15,opt,name=text,proto3" json:"text,omitempty"` Duration int32 `protobuf:"varint,16,opt,name=duration,proto3" json:"duration,omitempty"` ZoneInTime int32 `protobuf:"varint,17,opt,name=zone_in_time,json=zoneInTime,proto3" json:"zone_in_time,omitempty"` WinPoints int32 `protobuf:"varint,18,opt,name=win_points,json=winPoints,proto3" json:"win_points,omitempty"` LosePoints int32 `protobuf:"varint,19,opt,name=lose_points,json=losePoints,proto3" json:"lose_points,omitempty"` Theme int32 `protobuf:"varint,20,opt,name=theme,proto3" json:"theme,omitempty"` ZoneInZoneId int32 `protobuf:"varint,21,opt,name=zone_in_zone_id,json=zoneInZoneId,proto3" json:"zone_in_zone_id,omitempty"` ZoneInX int32 `protobuf:"varint,22,opt,name=zone_in_x,json=zoneInX,proto3" json:"zone_in_x,omitempty"` ZoneInY int32 `protobuf:"varint,23,opt,name=zone_in_y,json=zoneInY,proto3" json:"zone_in_y,omitempty"` ZoneInZ int32 `protobuf:"varint,24,opt,name=zone_in_z,json=zoneInZ,proto3" json:"zone_in_z,omitempty"` ZoneInObjectId int32 `protobuf:"varint,25,opt,name=zone_in_object_id,json=zoneInObjectId,proto3" json:"zone_in_object_id,omitempty"` DestX int32 `protobuf:"varint,26,opt,name=dest_x,json=destX,proto3" json:"dest_x,omitempty"` DestY int32 `protobuf:"varint,27,opt,name=dest_y,json=destY,proto3" json:"dest_y,omitempty"` DestZ int32 `protobuf:"varint,28,opt,name=dest_z,json=destZ,proto3" json:"dest_z,omitempty"` DestH int32 `protobuf:"varint,29,opt,name=dest_h,json=destH,proto3" json:"dest_h,omitempty"` GraveyardZoneId int32 `protobuf:"varint,30,opt,name=graveyard_zone_id,json=graveyardZoneId,proto3" json:"graveyard_zone_id,omitempty"` GraveyardX int32 `protobuf:"varint,31,opt,name=graveyard_x,json=graveyardX,proto3" json:"graveyard_x,omitempty"` GraveyardY int32 `protobuf:"varint,32,opt,name=graveyard_y,json=graveyardY,proto3" json:"graveyard_y,omitempty"` GraveyardZ int32 `protobuf:"varint,33,opt,name=graveyard_z,json=graveyardZ,proto3" json:"graveyard_z,omitempty"` GraveyardRadius int32 `protobuf:"varint,34,opt,name=graveyard_radius,json=graveyardRadius,proto3" json:"graveyard_radius,omitempty"` Entries []*AdventureEntry `protobuf:"bytes,35,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*Adventure) Descriptor
deprecated
func (*Adventure) GetDuration ¶
func (*Adventure) GetEntries ¶
func (x *Adventure) GetEntries() []*AdventureEntry
func (*Adventure) GetGraveyardRadius ¶
func (*Adventure) GetGraveyardX ¶
func (*Adventure) GetGraveyardY ¶
func (*Adventure) GetGraveyardZ ¶
func (*Adventure) GetGraveyardZoneId ¶
func (*Adventure) GetLosePoints ¶
func (*Adventure) GetMaxLevel ¶
func (*Adventure) GetMinLevel ¶
func (*Adventure) GetTypeCount ¶
func (*Adventure) GetTypeData ¶
func (*Adventure) GetWinPoints ¶
func (*Adventure) GetZoneInObjectId ¶
func (*Adventure) GetZoneInTime ¶
func (*Adventure) GetZoneInX ¶
func (*Adventure) GetZoneInY ¶
func (*Adventure) GetZoneInZ ¶
func (*Adventure) GetZoneInZoneId ¶
func (*Adventure) GetZoneVersion ¶
func (*Adventure) ProtoMessage ¶
func (*Adventure) ProtoMessage()
func (*Adventure) ProtoReflect ¶
func (x *Adventure) ProtoReflect() protoreflect.Message
type AdventureEntry ¶
type AdventureEntry struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` TemplateId int32 `protobuf:"varint,2,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` // contains filtered or unexported fields }
func (*AdventureEntry) Descriptor
deprecated
func (*AdventureEntry) Descriptor() ([]byte, []int)
Deprecated: Use AdventureEntry.ProtoReflect.Descriptor instead.
func (*AdventureEntry) GetId ¶
func (x *AdventureEntry) GetId() int32
func (*AdventureEntry) GetTemplateId ¶
func (x *AdventureEntry) GetTemplateId() int32
func (*AdventureEntry) ProtoMessage ¶
func (*AdventureEntry) ProtoMessage()
func (*AdventureEntry) ProtoReflect ¶
func (x *AdventureEntry) ProtoReflect() protoreflect.Message
func (*AdventureEntry) Reset ¶
func (x *AdventureEntry) Reset()
func (*AdventureEntry) String ¶
func (x *AdventureEntry) String() string
type AdventureServiceClient ¶
type AdventureServiceClient interface { ListAdventures(ctx context.Context, in *ListAdventuresRequest, opts ...grpc.CallOption) (AdventureService_ListAdventuresClient, error) CreateAdventure(ctx context.Context, in *CreateAdventureRequest, opts ...grpc.CallOption) (*CreateAdventureResponse, error) GetAdventure(ctx context.Context, in *GetAdventureRequest, opts ...grpc.CallOption) (*GetAdventureResponse, error) UpdateAdventure(ctx context.Context, in *UpdateAdventureRequest, opts ...grpc.CallOption) (*UpdateAdventureResponse, error) DeleteAdventure(ctx context.Context, in *DeleteAdventureRequest, opts ...grpc.CallOption) (*DeleteAdventureResponse, error) }
AdventureServiceClient is the client API for AdventureService 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 NewAdventureServiceClient ¶
func NewAdventureServiceClient(cc grpc.ClientConnInterface) AdventureServiceClient
type AdventureServiceServer ¶
type AdventureServiceServer interface { ListAdventures(*ListAdventuresRequest, AdventureService_ListAdventuresServer) error CreateAdventure(context.Context, *CreateAdventureRequest) (*CreateAdventureResponse, error) GetAdventure(context.Context, *GetAdventureRequest) (*GetAdventureResponse, error) UpdateAdventure(context.Context, *UpdateAdventureRequest) (*UpdateAdventureResponse, error) DeleteAdventure(context.Context, *DeleteAdventureRequest) (*DeleteAdventureResponse, error) }
AdventureServiceServer is the server API for AdventureService service. All implementations should embed UnimplementedAdventureServiceServer for forward compatibility
type AdventureService_ListAdventuresClient ¶
type AdventureService_ListAdventuresClient interface { Recv() (*ListAdventuresResponse, error) grpc.ClientStream }
type AdventureService_ListAdventuresServer ¶
type AdventureService_ListAdventuresServer interface { Send(*ListAdventuresResponse) error grpc.ServerStream }
type CreateAdventureRequest ¶
type CreateAdventureRequest struct { Adventure *Adventure `protobuf:"bytes,1,opt,name=adventure,proto3" json:"adventure,omitempty"` // contains filtered or unexported fields }
func (*CreateAdventureRequest) Descriptor
deprecated
func (*CreateAdventureRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAdventureRequest.ProtoReflect.Descriptor instead.
func (*CreateAdventureRequest) GetAdventure ¶
func (x *CreateAdventureRequest) GetAdventure() *Adventure
func (*CreateAdventureRequest) ProtoMessage ¶
func (*CreateAdventureRequest) ProtoMessage()
func (*CreateAdventureRequest) ProtoReflect ¶
func (x *CreateAdventureRequest) ProtoReflect() protoreflect.Message
func (*CreateAdventureRequest) Reset ¶
func (x *CreateAdventureRequest) Reset()
func (*CreateAdventureRequest) String ¶
func (x *CreateAdventureRequest) String() string
type CreateAdventureResponse ¶
type CreateAdventureResponse struct { Adventure *Adventure `protobuf:"bytes,1,opt,name=adventure,proto3" json:"adventure,omitempty"` // contains filtered or unexported fields }
func (*CreateAdventureResponse) Descriptor
deprecated
func (*CreateAdventureResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAdventureResponse.ProtoReflect.Descriptor instead.
func (*CreateAdventureResponse) GetAdventure ¶
func (x *CreateAdventureResponse) GetAdventure() *Adventure
func (*CreateAdventureResponse) ProtoMessage ¶
func (*CreateAdventureResponse) ProtoMessage()
func (*CreateAdventureResponse) ProtoReflect ¶
func (x *CreateAdventureResponse) ProtoReflect() protoreflect.Message
func (*CreateAdventureResponse) Reset ¶
func (x *CreateAdventureResponse) Reset()
func (*CreateAdventureResponse) String ¶
func (x *CreateAdventureResponse) String() string
type DeleteAdventureRequest ¶
type DeleteAdventureRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAdventureRequest) Descriptor
deprecated
func (*DeleteAdventureRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAdventureRequest.ProtoReflect.Descriptor instead.
func (*DeleteAdventureRequest) GetId ¶
func (x *DeleteAdventureRequest) GetId() int32
func (*DeleteAdventureRequest) ProtoMessage ¶
func (*DeleteAdventureRequest) ProtoMessage()
func (*DeleteAdventureRequest) ProtoReflect ¶
func (x *DeleteAdventureRequest) ProtoReflect() protoreflect.Message
func (*DeleteAdventureRequest) Reset ¶
func (x *DeleteAdventureRequest) Reset()
func (*DeleteAdventureRequest) String ¶
func (x *DeleteAdventureRequest) String() string
type DeleteAdventureResponse ¶
type DeleteAdventureResponse struct { Adventure *Adventure `protobuf:"bytes,1,opt,name=adventure,proto3" json:"adventure,omitempty"` // contains filtered or unexported fields }
func (*DeleteAdventureResponse) Descriptor
deprecated
func (*DeleteAdventureResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAdventureResponse.ProtoReflect.Descriptor instead.
func (*DeleteAdventureResponse) GetAdventure ¶
func (x *DeleteAdventureResponse) GetAdventure() *Adventure
func (*DeleteAdventureResponse) ProtoMessage ¶
func (*DeleteAdventureResponse) ProtoMessage()
func (*DeleteAdventureResponse) ProtoReflect ¶
func (x *DeleteAdventureResponse) ProtoReflect() protoreflect.Message
func (*DeleteAdventureResponse) Reset ¶
func (x *DeleteAdventureResponse) Reset()
func (*DeleteAdventureResponse) String ¶
func (x *DeleteAdventureResponse) String() string
type GetAdventureRequest ¶
type GetAdventureRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetAdventureRequest) Descriptor
deprecated
func (*GetAdventureRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAdventureRequest.ProtoReflect.Descriptor instead.
func (*GetAdventureRequest) GetId ¶
func (x *GetAdventureRequest) GetId() int32
func (*GetAdventureRequest) ProtoMessage ¶
func (*GetAdventureRequest) ProtoMessage()
func (*GetAdventureRequest) ProtoReflect ¶
func (x *GetAdventureRequest) ProtoReflect() protoreflect.Message
func (*GetAdventureRequest) Reset ¶
func (x *GetAdventureRequest) Reset()
func (*GetAdventureRequest) String ¶
func (x *GetAdventureRequest) String() string
type GetAdventureResponse ¶
type GetAdventureResponse struct { Adventure *Adventure `protobuf:"bytes,1,opt,name=adventure,proto3" json:"adventure,omitempty"` // contains filtered or unexported fields }
func (*GetAdventureResponse) Descriptor
deprecated
func (*GetAdventureResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAdventureResponse.ProtoReflect.Descriptor instead.
func (*GetAdventureResponse) GetAdventure ¶
func (x *GetAdventureResponse) GetAdventure() *Adventure
func (*GetAdventureResponse) ProtoMessage ¶
func (*GetAdventureResponse) ProtoMessage()
func (*GetAdventureResponse) ProtoReflect ¶
func (x *GetAdventureResponse) ProtoReflect() protoreflect.Message
func (*GetAdventureResponse) Reset ¶
func (x *GetAdventureResponse) Reset()
func (*GetAdventureResponse) String ¶
func (x *GetAdventureResponse) String() string
type ListAdventuresRequest ¶
type ListAdventuresRequest struct {
// contains filtered or unexported fields
}
func (*ListAdventuresRequest) Descriptor
deprecated
func (*ListAdventuresRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAdventuresRequest.ProtoReflect.Descriptor instead.
func (*ListAdventuresRequest) ProtoMessage ¶
func (*ListAdventuresRequest) ProtoMessage()
func (*ListAdventuresRequest) ProtoReflect ¶
func (x *ListAdventuresRequest) ProtoReflect() protoreflect.Message
func (*ListAdventuresRequest) Reset ¶
func (x *ListAdventuresRequest) Reset()
func (*ListAdventuresRequest) String ¶
func (x *ListAdventuresRequest) String() string
type ListAdventuresResponse ¶
type ListAdventuresResponse struct { Adventure *Adventure `protobuf:"bytes,1,opt,name=adventure,proto3" json:"adventure,omitempty"` // contains filtered or unexported fields }
func (*ListAdventuresResponse) Descriptor
deprecated
func (*ListAdventuresResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAdventuresResponse.ProtoReflect.Descriptor instead.
func (*ListAdventuresResponse) GetAdventure ¶
func (x *ListAdventuresResponse) GetAdventure() *Adventure
func (*ListAdventuresResponse) ProtoMessage ¶
func (*ListAdventuresResponse) ProtoMessage()
func (*ListAdventuresResponse) ProtoReflect ¶
func (x *ListAdventuresResponse) ProtoReflect() protoreflect.Message
func (*ListAdventuresResponse) Reset ¶
func (x *ListAdventuresResponse) Reset()
func (*ListAdventuresResponse) String ¶
func (x *ListAdventuresResponse) String() string
type UnimplementedAdventureServiceServer ¶
type UnimplementedAdventureServiceServer struct { }
UnimplementedAdventureServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedAdventureServiceServer) CreateAdventure ¶
func (UnimplementedAdventureServiceServer) CreateAdventure(context.Context, *CreateAdventureRequest) (*CreateAdventureResponse, error)
func (UnimplementedAdventureServiceServer) DeleteAdventure ¶
func (UnimplementedAdventureServiceServer) DeleteAdventure(context.Context, *DeleteAdventureRequest) (*DeleteAdventureResponse, error)
func (UnimplementedAdventureServiceServer) GetAdventure ¶
func (UnimplementedAdventureServiceServer) GetAdventure(context.Context, *GetAdventureRequest) (*GetAdventureResponse, error)
func (UnimplementedAdventureServiceServer) ListAdventures ¶
func (UnimplementedAdventureServiceServer) ListAdventures(*ListAdventuresRequest, AdventureService_ListAdventuresServer) error
func (UnimplementedAdventureServiceServer) UpdateAdventure ¶
func (UnimplementedAdventureServiceServer) UpdateAdventure(context.Context, *UpdateAdventureRequest) (*UpdateAdventureResponse, error)
type UnsafeAdventureServiceServer ¶
type UnsafeAdventureServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAdventureServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdventureServiceServer will result in compilation errors.
type UpdateAdventureRequest ¶
type UpdateAdventureRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Adventure *Adventure `protobuf:"bytes,2,opt,name=adventure,proto3" json:"adventure,omitempty"` // contains filtered or unexported fields }
func (*UpdateAdventureRequest) Descriptor
deprecated
func (*UpdateAdventureRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAdventureRequest.ProtoReflect.Descriptor instead.
func (*UpdateAdventureRequest) GetAdventure ¶
func (x *UpdateAdventureRequest) GetAdventure() *Adventure
func (*UpdateAdventureRequest) GetId ¶
func (x *UpdateAdventureRequest) GetId() int32
func (*UpdateAdventureRequest) ProtoMessage ¶
func (*UpdateAdventureRequest) ProtoMessage()
func (*UpdateAdventureRequest) ProtoReflect ¶
func (x *UpdateAdventureRequest) ProtoReflect() protoreflect.Message
func (*UpdateAdventureRequest) Reset ¶
func (x *UpdateAdventureRequest) Reset()
func (*UpdateAdventureRequest) String ¶
func (x *UpdateAdventureRequest) String() string
type UpdateAdventureResponse ¶
type UpdateAdventureResponse struct { Adventure *Adventure `protobuf:"bytes,1,opt,name=adventure,proto3" json:"adventure,omitempty"` // contains filtered or unexported fields }
func (*UpdateAdventureResponse) Descriptor
deprecated
func (*UpdateAdventureResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAdventureResponse.ProtoReflect.Descriptor instead.
func (*UpdateAdventureResponse) GetAdventure ¶
func (x *UpdateAdventureResponse) GetAdventure() *Adventure
func (*UpdateAdventureResponse) ProtoMessage ¶
func (*UpdateAdventureResponse) ProtoMessage()
func (*UpdateAdventureResponse) ProtoReflect ¶
func (x *UpdateAdventureResponse) ProtoReflect() protoreflect.Message
func (*UpdateAdventureResponse) Reset ¶
func (x *UpdateAdventureResponse) Reset()
func (*UpdateAdventureResponse) String ¶
func (x *UpdateAdventureResponse) String() string