Documentation
¶
Index ¶
- Variables
- func RegisterWorldServiceServer(s grpc.ServiceRegistrar, srv WorldServiceServer)
- type GetAirbasesRequest
- func (*GetAirbasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAirbasesRequest) GetCoalition() common.Coalition
- func (*GetAirbasesRequest) ProtoMessage()
- func (x *GetAirbasesRequest) ProtoReflect() protoreflect.Message
- func (x *GetAirbasesRequest) Reset()
- func (x *GetAirbasesRequest) String() string
- type GetAirbasesResponse
- func (*GetAirbasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAirbasesResponse) GetAirbases() []*common.Airbase
- func (*GetAirbasesResponse) ProtoMessage()
- func (x *GetAirbasesResponse) ProtoReflect() protoreflect.Message
- func (x *GetAirbasesResponse) Reset()
- func (x *GetAirbasesResponse) String() string
- type GetMarkPanelsRequest
- type GetMarkPanelsResponse
- func (*GetMarkPanelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMarkPanelsResponse) GetMarkPanels() []*common.MarkPanel
- func (*GetMarkPanelsResponse) ProtoMessage()
- func (x *GetMarkPanelsResponse) ProtoReflect() protoreflect.Message
- func (x *GetMarkPanelsResponse) Reset()
- func (x *GetMarkPanelsResponse) String() string
- type GetTheatreRequest
- type GetTheatreResponse
- func (*GetTheatreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTheatreResponse) GetTheatre() string
- func (*GetTheatreResponse) ProtoMessage()
- func (x *GetTheatreResponse) ProtoReflect() protoreflect.Message
- func (x *GetTheatreResponse) Reset()
- func (x *GetTheatreResponse) String() string
- type UnimplementedWorldServiceServer
- func (UnimplementedWorldServiceServer) GetAirbases(context.Context, *GetAirbasesRequest) (*GetAirbasesResponse, error)
- func (UnimplementedWorldServiceServer) GetMarkPanels(context.Context, *GetMarkPanelsRequest) (*GetMarkPanelsResponse, error)
- func (UnimplementedWorldServiceServer) GetTheatre(context.Context, *GetTheatreRequest) (*GetTheatreResponse, error)
- type UnsafeWorldServiceServer
- type WorldServiceClient
- type WorldServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_dcs_world_v0_world_proto protoreflect.FileDescriptor
var WorldService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dcs.world.v0.WorldService", HandlerType: (*WorldServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAirbases", Handler: _WorldService_GetAirbases_Handler, }, { MethodName: "GetMarkPanels", Handler: _WorldService_GetMarkPanels_Handler, }, { MethodName: "GetTheatre", Handler: _WorldService_GetTheatre_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "dcs/world/v0/world.proto", }
WorldService_ServiceDesc is the grpc.ServiceDesc for WorldService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterWorldServiceServer ¶
func RegisterWorldServiceServer(s grpc.ServiceRegistrar, srv WorldServiceServer)
Types ¶
type GetAirbasesRequest ¶
type GetAirbasesRequest struct { Coalition common.Coalition `protobuf:"varint,1,opt,name=coalition,proto3,enum=dcs.common.v0.Coalition" json:"coalition,omitempty"` // contains filtered or unexported fields }
func (*GetAirbasesRequest) Descriptor
deprecated
func (*GetAirbasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAirbasesRequest.ProtoReflect.Descriptor instead.
func (*GetAirbasesRequest) GetCoalition ¶
func (x *GetAirbasesRequest) GetCoalition() common.Coalition
func (*GetAirbasesRequest) ProtoMessage ¶
func (*GetAirbasesRequest) ProtoMessage()
func (*GetAirbasesRequest) ProtoReflect ¶
func (x *GetAirbasesRequest) ProtoReflect() protoreflect.Message
func (*GetAirbasesRequest) Reset ¶
func (x *GetAirbasesRequest) Reset()
func (*GetAirbasesRequest) String ¶
func (x *GetAirbasesRequest) String() string
type GetAirbasesResponse ¶
type GetAirbasesResponse struct { Airbases []*common.Airbase `protobuf:"bytes,1,rep,name=airbases,proto3" json:"airbases,omitempty"` // contains filtered or unexported fields }
func (*GetAirbasesResponse) Descriptor
deprecated
func (*GetAirbasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAirbasesResponse.ProtoReflect.Descriptor instead.
func (*GetAirbasesResponse) GetAirbases ¶
func (x *GetAirbasesResponse) GetAirbases() []*common.Airbase
func (*GetAirbasesResponse) ProtoMessage ¶
func (*GetAirbasesResponse) ProtoMessage()
func (*GetAirbasesResponse) ProtoReflect ¶
func (x *GetAirbasesResponse) ProtoReflect() protoreflect.Message
func (*GetAirbasesResponse) Reset ¶
func (x *GetAirbasesResponse) Reset()
func (*GetAirbasesResponse) String ¶
func (x *GetAirbasesResponse) String() string
type GetMarkPanelsRequest ¶
type GetMarkPanelsRequest struct {
// contains filtered or unexported fields
}
func (*GetMarkPanelsRequest) Descriptor
deprecated
func (*GetMarkPanelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMarkPanelsRequest.ProtoReflect.Descriptor instead.
func (*GetMarkPanelsRequest) ProtoMessage ¶
func (*GetMarkPanelsRequest) ProtoMessage()
func (*GetMarkPanelsRequest) ProtoReflect ¶
func (x *GetMarkPanelsRequest) ProtoReflect() protoreflect.Message
func (*GetMarkPanelsRequest) Reset ¶
func (x *GetMarkPanelsRequest) Reset()
func (*GetMarkPanelsRequest) String ¶
func (x *GetMarkPanelsRequest) String() string
type GetMarkPanelsResponse ¶
type GetMarkPanelsResponse struct { MarkPanels []*common.MarkPanel `protobuf:"bytes,1,rep,name=mark_panels,json=markPanels,proto3" json:"mark_panels,omitempty"` // contains filtered or unexported fields }
func (*GetMarkPanelsResponse) Descriptor
deprecated
func (*GetMarkPanelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMarkPanelsResponse.ProtoReflect.Descriptor instead.
func (*GetMarkPanelsResponse) GetMarkPanels ¶
func (x *GetMarkPanelsResponse) GetMarkPanels() []*common.MarkPanel
func (*GetMarkPanelsResponse) ProtoMessage ¶
func (*GetMarkPanelsResponse) ProtoMessage()
func (*GetMarkPanelsResponse) ProtoReflect ¶
func (x *GetMarkPanelsResponse) ProtoReflect() protoreflect.Message
func (*GetMarkPanelsResponse) Reset ¶
func (x *GetMarkPanelsResponse) Reset()
func (*GetMarkPanelsResponse) String ¶
func (x *GetMarkPanelsResponse) String() string
type GetTheatreRequest ¶
type GetTheatreRequest struct {
// contains filtered or unexported fields
}
func (*GetTheatreRequest) Descriptor
deprecated
func (*GetTheatreRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTheatreRequest.ProtoReflect.Descriptor instead.
func (*GetTheatreRequest) ProtoMessage ¶
func (*GetTheatreRequest) ProtoMessage()
func (*GetTheatreRequest) ProtoReflect ¶
func (x *GetTheatreRequest) ProtoReflect() protoreflect.Message
func (*GetTheatreRequest) Reset ¶
func (x *GetTheatreRequest) Reset()
func (*GetTheatreRequest) String ¶
func (x *GetTheatreRequest) String() string
type GetTheatreResponse ¶
type GetTheatreResponse struct { Theatre string `protobuf:"bytes,1,opt,name=theatre,proto3" json:"theatre,omitempty"` // contains filtered or unexported fields }
func (*GetTheatreResponse) Descriptor
deprecated
func (*GetTheatreResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTheatreResponse.ProtoReflect.Descriptor instead.
func (*GetTheatreResponse) GetTheatre ¶
func (x *GetTheatreResponse) GetTheatre() string
func (*GetTheatreResponse) ProtoMessage ¶
func (*GetTheatreResponse) ProtoMessage()
func (*GetTheatreResponse) ProtoReflect ¶
func (x *GetTheatreResponse) ProtoReflect() protoreflect.Message
func (*GetTheatreResponse) Reset ¶
func (x *GetTheatreResponse) Reset()
func (*GetTheatreResponse) String ¶
func (x *GetTheatreResponse) String() string
type UnimplementedWorldServiceServer ¶
type UnimplementedWorldServiceServer struct { }
UnimplementedWorldServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedWorldServiceServer) GetAirbases ¶
func (UnimplementedWorldServiceServer) GetAirbases(context.Context, *GetAirbasesRequest) (*GetAirbasesResponse, error)
func (UnimplementedWorldServiceServer) GetMarkPanels ¶
func (UnimplementedWorldServiceServer) GetMarkPanels(context.Context, *GetMarkPanelsRequest) (*GetMarkPanelsResponse, error)
func (UnimplementedWorldServiceServer) GetTheatre ¶
func (UnimplementedWorldServiceServer) GetTheatre(context.Context, *GetTheatreRequest) (*GetTheatreResponse, error)
type UnsafeWorldServiceServer ¶
type UnsafeWorldServiceServer interface {
// contains filtered or unexported methods
}
UnsafeWorldServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorldServiceServer will result in compilation errors.
type WorldServiceClient ¶
type WorldServiceClient interface { // https://wiki.hoggitworld.com/view/DCS_func_getAirbases GetAirbases(ctx context.Context, in *GetAirbasesRequest, opts ...grpc.CallOption) (*GetAirbasesResponse, error) // https://wiki.hoggitworld.com/view/DCS_func_getMarkPanels GetMarkPanels(ctx context.Context, in *GetMarkPanelsRequest, opts ...grpc.CallOption) (*GetMarkPanelsResponse, error) // Returns the theatre (Map name) of the mission GetTheatre(ctx context.Context, in *GetTheatreRequest, opts ...grpc.CallOption) (*GetTheatreResponse, error) }
WorldServiceClient is the client API for WorldService 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 NewWorldServiceClient ¶
func NewWorldServiceClient(cc grpc.ClientConnInterface) WorldServiceClient
type WorldServiceServer ¶
type WorldServiceServer interface { // https://wiki.hoggitworld.com/view/DCS_func_getAirbases GetAirbases(context.Context, *GetAirbasesRequest) (*GetAirbasesResponse, error) // https://wiki.hoggitworld.com/view/DCS_func_getMarkPanels GetMarkPanels(context.Context, *GetMarkPanelsRequest) (*GetMarkPanelsResponse, error) // Returns the theatre (Map name) of the mission GetTheatre(context.Context, *GetTheatreRequest) (*GetTheatreResponse, error) // contains filtered or unexported methods }
WorldServiceServer is the server API for WorldService service. All implementations must embed UnimplementedWorldServiceServer for forward compatibility