Versions in this module Expand all Collapse all v0 v0.0.8 Oct 22, 2024 Changes in this version + const ArmAuthorizerServerService_AcceptArmAuthorization_FullMethodName + const ArmAuthorizerServerService_RejectArmAuthorization_FullMethodName + const ArmAuthorizerServerService_SubscribeArmAuthorization_FullMethodName + var ArmAuthorizerServerResult_Result_name = map[int32]string + var ArmAuthorizerServerResult_Result_value = map[string]int32 + var ArmAuthorizerServerService_ServiceDesc = grpc.ServiceDesc + var File_arm_authorizer_server_proto protoreflect.FileDescriptor + var RejectionReason_name = map[int32]string + var RejectionReason_value = map[string]int32 + func RegisterArmAuthorizerServerServiceServer(s grpc.ServiceRegistrar, srv ArmAuthorizerServerServiceServer) + type AcceptArmAuthorizationRequest struct + ValidTimeS int32 + func (*AcceptArmAuthorizationRequest) Descriptor() ([]byte, []int) + func (*AcceptArmAuthorizationRequest) ProtoMessage() + func (x *AcceptArmAuthorizationRequest) GetValidTimeS() int32 + func (x *AcceptArmAuthorizationRequest) ProtoReflect() protoreflect.Message + func (x *AcceptArmAuthorizationRequest) Reset() + func (x *AcceptArmAuthorizationRequest) String() string + type AcceptArmAuthorizationResponse struct + ArmAuthorizerServerResult *ArmAuthorizerServerResult + func (*AcceptArmAuthorizationResponse) Descriptor() ([]byte, []int) + func (*AcceptArmAuthorizationResponse) ProtoMessage() + func (x *AcceptArmAuthorizationResponse) GetArmAuthorizerServerResult() *ArmAuthorizerServerResult + func (x *AcceptArmAuthorizationResponse) ProtoReflect() protoreflect.Message + func (x *AcceptArmAuthorizationResponse) Reset() + func (x *AcceptArmAuthorizationResponse) String() string + type ArmAuthorizationResponse struct + SystemId uint32 + func (*ArmAuthorizationResponse) Descriptor() ([]byte, []int) + func (*ArmAuthorizationResponse) ProtoMessage() + func (x *ArmAuthorizationResponse) GetSystemId() uint32 + func (x *ArmAuthorizationResponse) ProtoReflect() protoreflect.Message + func (x *ArmAuthorizationResponse) Reset() + func (x *ArmAuthorizationResponse) String() string + type ArmAuthorizerServerResult struct + Result ArmAuthorizerServerResult_Result + ResultStr string + func (*ArmAuthorizerServerResult) Descriptor() ([]byte, []int) + func (*ArmAuthorizerServerResult) ProtoMessage() + func (x *ArmAuthorizerServerResult) GetResult() ArmAuthorizerServerResult_Result + func (x *ArmAuthorizerServerResult) GetResultStr() string + func (x *ArmAuthorizerServerResult) ProtoReflect() protoreflect.Message + func (x *ArmAuthorizerServerResult) Reset() + func (x *ArmAuthorizerServerResult) String() string + type ArmAuthorizerServerResult_Result int32 + const ArmAuthorizerServerResult_RESULT_FAILED + const ArmAuthorizerServerResult_RESULT_SUCCESS + const ArmAuthorizerServerResult_RESULT_UNKNOWN + func (ArmAuthorizerServerResult_Result) Descriptor() protoreflect.EnumDescriptor + func (ArmAuthorizerServerResult_Result) EnumDescriptor() ([]byte, []int) + func (ArmAuthorizerServerResult_Result) Type() protoreflect.EnumType + func (x ArmAuthorizerServerResult_Result) Enum() *ArmAuthorizerServerResult_Result + func (x ArmAuthorizerServerResult_Result) Number() protoreflect.EnumNumber + func (x ArmAuthorizerServerResult_Result) String() string + type ArmAuthorizerServerServiceClient interface + AcceptArmAuthorization func(ctx context.Context, in *AcceptArmAuthorizationRequest, ...) (*AcceptArmAuthorizationResponse, error) + RejectArmAuthorization func(ctx context.Context, in *RejectArmAuthorizationRequest, ...) (*RejectArmAuthorizationResponse, error) + SubscribeArmAuthorization func(ctx context.Context, in *SubscribeArmAuthorizationRequest, ...) (grpc.ServerStreamingClient[ArmAuthorizationResponse], error) + func NewArmAuthorizerServerServiceClient(cc grpc.ClientConnInterface) ArmAuthorizerServerServiceClient + type ArmAuthorizerServerServiceServer interface + AcceptArmAuthorization func(context.Context, *AcceptArmAuthorizationRequest) (*AcceptArmAuthorizationResponse, error) + RejectArmAuthorization func(context.Context, *RejectArmAuthorizationRequest) (*RejectArmAuthorizationResponse, error) + SubscribeArmAuthorization func(*SubscribeArmAuthorizationRequest, ...) error + type ArmAuthorizerServerService_SubscribeArmAuthorizationClient = grpc.ServerStreamingClient[ArmAuthorizationResponse] + type ArmAuthorizerServerService_SubscribeArmAuthorizationServer = grpc.ServerStreamingServer[ArmAuthorizationResponse] + type RejectArmAuthorizationRequest struct + ExtraInfo int32 + Reason RejectionReason + Temporarily bool + func (*RejectArmAuthorizationRequest) Descriptor() ([]byte, []int) + func (*RejectArmAuthorizationRequest) ProtoMessage() + func (x *RejectArmAuthorizationRequest) GetExtraInfo() int32 + func (x *RejectArmAuthorizationRequest) GetReason() RejectionReason + func (x *RejectArmAuthorizationRequest) GetTemporarily() bool + func (x *RejectArmAuthorizationRequest) ProtoReflect() protoreflect.Message + func (x *RejectArmAuthorizationRequest) Reset() + func (x *RejectArmAuthorizationRequest) String() string + type RejectArmAuthorizationResponse struct + ArmAuthorizerServerResult *ArmAuthorizerServerResult + func (*RejectArmAuthorizationResponse) Descriptor() ([]byte, []int) + func (*RejectArmAuthorizationResponse) ProtoMessage() + func (x *RejectArmAuthorizationResponse) GetArmAuthorizerServerResult() *ArmAuthorizerServerResult + func (x *RejectArmAuthorizationResponse) ProtoReflect() protoreflect.Message + func (x *RejectArmAuthorizationResponse) Reset() + func (x *RejectArmAuthorizationResponse) String() string + type RejectionReason int32 + const RejectionReason_REJECTION_REASON_AIRSPACE_IN_USE + const RejectionReason_REJECTION_REASON_BAD_WEATHER + const RejectionReason_REJECTION_REASON_GENERIC + const RejectionReason_REJECTION_REASON_INVALID_WAYPOINT + const RejectionReason_REJECTION_REASON_NONE + const RejectionReason_REJECTION_REASON_TIMEOUT + func (RejectionReason) Descriptor() protoreflect.EnumDescriptor + func (RejectionReason) EnumDescriptor() ([]byte, []int) + func (RejectionReason) Type() protoreflect.EnumType + func (x RejectionReason) Enum() *RejectionReason + func (x RejectionReason) Number() protoreflect.EnumNumber + func (x RejectionReason) String() string + type ServiceImpl struct + Client ArmAuthorizerServerServiceClient + func (a *ServiceImpl) ArmAuthorization(ctx context.Context) (<-chan uint32, error) + func (s *ServiceImpl) AcceptArmAuthorization(ctx context.Context, validTimeS int32) (*AcceptArmAuthorizationResponse, error) + func (s *ServiceImpl) RejectArmAuthorization(ctx context.Context, temporarily bool, reason *RejectionReason, ...) (*RejectArmAuthorizationResponse, error) + type SubscribeArmAuthorizationRequest struct + func (*SubscribeArmAuthorizationRequest) Descriptor() ([]byte, []int) + func (*SubscribeArmAuthorizationRequest) ProtoMessage() + func (x *SubscribeArmAuthorizationRequest) ProtoReflect() protoreflect.Message + func (x *SubscribeArmAuthorizationRequest) Reset() + func (x *SubscribeArmAuthorizationRequest) String() string + type UnimplementedArmAuthorizerServerServiceServer struct + func (UnimplementedArmAuthorizerServerServiceServer) AcceptArmAuthorization(context.Context, *AcceptArmAuthorizationRequest) (*AcceptArmAuthorizationResponse, error) + func (UnimplementedArmAuthorizerServerServiceServer) RejectArmAuthorization(context.Context, *RejectArmAuthorizationRequest) (*RejectArmAuthorizationResponse, error) + func (UnimplementedArmAuthorizerServerServiceServer) SubscribeArmAuthorization(*SubscribeArmAuthorizationRequest, ...) error + type UnsafeArmAuthorizerServerServiceServer interface