Versions in this module Expand all Collapse all v0 v0.0.1 Feb 15, 2023 Changes in this version + var Autopilot_ServiceDesc = grpc.ServiceDesc + var File_autopilotserver_proto protoreflect.FileDescriptor + func RegisterAutopilotServer(s grpc.ServiceRegistrar, srv AutopilotServer) + type ActivateSessionRequest struct + ResponderPubKey []byte + func (*ActivateSessionRequest) Descriptor() ([]byte, []int) + func (*ActivateSessionRequest) ProtoMessage() + func (x *ActivateSessionRequest) GetResponderPubKey() []byte + func (x *ActivateSessionRequest) ProtoReflect() protoreflect.Message + func (x *ActivateSessionRequest) Reset() + func (x *ActivateSessionRequest) String() string + type ActivateSessionResponse struct + InitiatorPubKey []byte + func (*ActivateSessionResponse) Descriptor() ([]byte, []int) + func (*ActivateSessionResponse) ProtoMessage() + func (x *ActivateSessionResponse) GetInitiatorPubKey() []byte + func (x *ActivateSessionResponse) ProtoReflect() protoreflect.Message + func (x *ActivateSessionResponse) Reset() + func (x *ActivateSessionResponse) String() string + type AutopilotClient interface + ActivateSession func(ctx context.Context, in *ActivateSessionRequest, opts ...grpc.CallOption) (*ActivateSessionResponse, error) + ListFeatures func(ctx context.Context, in *ListFeaturesRequest, opts ...grpc.CallOption) (*ListFeaturesResponse, error) + RegisterSession func(ctx context.Context, in *RegisterSessionRequest, opts ...grpc.CallOption) (*RegisterSessionResponse, error) + RevokeSession func(ctx context.Context, in *RevokeSessionRequest, opts ...grpc.CallOption) (*RevokeSessionResponse, error) + Terms func(ctx context.Context, in *TermsRequest, opts ...grpc.CallOption) (*TermsResponse, error) + func NewAutopilotClient(cc grpc.ClientConnInterface) AutopilotClient + type AutopilotServer interface + ActivateSession func(context.Context, *ActivateSessionRequest) (*ActivateSessionResponse, error) + ListFeatures func(context.Context, *ListFeaturesRequest) (*ListFeaturesResponse, error) + RegisterSession func(context.Context, *RegisterSessionRequest) (*RegisterSessionResponse, error) + RevokeSession func(context.Context, *RevokeSessionRequest) (*RevokeSessionResponse, error) + Terms func(context.Context, *TermsRequest) (*TermsResponse, error) + type Feature struct + Description string + Name string + PermissionsList []*Permissions + Rules map[string]*Rule + func (*Feature) Descriptor() ([]byte, []int) + func (*Feature) ProtoMessage() + func (x *Feature) GetDescription() string + func (x *Feature) GetName() string + func (x *Feature) GetPermissionsList() []*Permissions + func (x *Feature) GetRules() map[string]*Rule + func (x *Feature) ProtoReflect() protoreflect.Message + func (x *Feature) Reset() + func (x *Feature) String() string + type ListFeaturesRequest struct + func (*ListFeaturesRequest) Descriptor() ([]byte, []int) + func (*ListFeaturesRequest) ProtoMessage() + func (x *ListFeaturesRequest) ProtoReflect() protoreflect.Message + func (x *ListFeaturesRequest) Reset() + func (x *ListFeaturesRequest) String() string + type ListFeaturesResponse struct + Features map[string]*Feature + func (*ListFeaturesResponse) Descriptor() ([]byte, []int) + func (*ListFeaturesResponse) ProtoMessage() + func (x *ListFeaturesResponse) GetFeatures() map[string]*Feature + func (x *ListFeaturesResponse) ProtoReflect() protoreflect.Message + func (x *ListFeaturesResponse) Reset() + func (x *ListFeaturesResponse) String() string + type Operation struct + Action string + Entity string + func (*Operation) Descriptor() ([]byte, []int) + func (*Operation) ProtoMessage() + func (x *Operation) GetAction() string + func (x *Operation) GetEntity() string + func (x *Operation) ProtoReflect() protoreflect.Message + func (x *Operation) Reset() + func (x *Operation) String() string + type Permissions struct + Method string + Operations []*Operation + func (*Permissions) Descriptor() ([]byte, []int) + func (*Permissions) ProtoMessage() + func (x *Permissions) GetMethod() string + func (x *Permissions) GetOperations() []*Operation + func (x *Permissions) ProtoReflect() protoreflect.Message + func (x *Permissions) Reset() + func (x *Permissions) String() string + type RegisterSessionRequest struct + DevServer bool + FeatureConfigs map[string][]byte + LitVersion *Version + LndVersion *Version + MailboxAddr string + ResponderPubKey []byte + func (*RegisterSessionRequest) Descriptor() ([]byte, []int) + func (*RegisterSessionRequest) ProtoMessage() + func (x *RegisterSessionRequest) GetDevServer() bool + func (x *RegisterSessionRequest) GetFeatureConfigs() map[string][]byte + func (x *RegisterSessionRequest) GetLitVersion() *Version + func (x *RegisterSessionRequest) GetLndVersion() *Version + func (x *RegisterSessionRequest) GetMailboxAddr() string + func (x *RegisterSessionRequest) GetResponderPubKey() []byte + func (x *RegisterSessionRequest) ProtoReflect() protoreflect.Message + func (x *RegisterSessionRequest) Reset() + func (x *RegisterSessionRequest) String() string + type RegisterSessionResponse struct + InitiatorPubKey []byte + func (*RegisterSessionResponse) Descriptor() ([]byte, []int) + func (*RegisterSessionResponse) ProtoMessage() + func (x *RegisterSessionResponse) GetInitiatorPubKey() []byte + func (x *RegisterSessionResponse) ProtoReflect() protoreflect.Message + func (x *RegisterSessionResponse) Reset() + func (x *RegisterSessionResponse) String() string + type RevokeSessionRequest struct + ResponderPubKey []byte + func (*RevokeSessionRequest) Descriptor() ([]byte, []int) + func (*RevokeSessionRequest) ProtoMessage() + func (x *RevokeSessionRequest) GetResponderPubKey() []byte + func (x *RevokeSessionRequest) ProtoReflect() protoreflect.Message + func (x *RevokeSessionRequest) Reset() + func (x *RevokeSessionRequest) String() string + type RevokeSessionResponse struct + func (*RevokeSessionResponse) Descriptor() ([]byte, []int) + func (*RevokeSessionResponse) ProtoMessage() + func (x *RevokeSessionResponse) ProtoReflect() protoreflect.Message + func (x *RevokeSessionResponse) Reset() + func (x *RevokeSessionResponse) String() string + type Rule struct + Default []byte + MaxValue []byte + MinValue []byte + Name string + func (*Rule) Descriptor() ([]byte, []int) + func (*Rule) ProtoMessage() + func (x *Rule) GetDefault() []byte + func (x *Rule) GetMaxValue() []byte + func (x *Rule) GetMinValue() []byte + func (x *Rule) GetName() string + func (x *Rule) ProtoReflect() protoreflect.Message + func (x *Rule) Reset() + func (x *Rule) String() string + type TermsRequest struct + func (*TermsRequest) Descriptor() ([]byte, []int) + func (*TermsRequest) ProtoMessage() + func (x *TermsRequest) ProtoReflect() protoreflect.Message + func (x *TermsRequest) Reset() + func (x *TermsRequest) String() string + type TermsResponse struct + MinRequiredVersion *Version + func (*TermsResponse) Descriptor() ([]byte, []int) + func (*TermsResponse) ProtoMessage() + func (x *TermsResponse) GetMinRequiredVersion() *Version + func (x *TermsResponse) ProtoReflect() protoreflect.Message + func (x *TermsResponse) Reset() + func (x *TermsResponse) String() string + type UnimplementedAutopilotServer struct + func (UnimplementedAutopilotServer) ActivateSession(context.Context, *ActivateSessionRequest) (*ActivateSessionResponse, error) + func (UnimplementedAutopilotServer) ListFeatures(context.Context, *ListFeaturesRequest) (*ListFeaturesResponse, error) + func (UnimplementedAutopilotServer) RegisterSession(context.Context, *RegisterSessionRequest) (*RegisterSessionResponse, error) + func (UnimplementedAutopilotServer) RevokeSession(context.Context, *RevokeSessionRequest) (*RevokeSessionResponse, error) + func (UnimplementedAutopilotServer) Terms(context.Context, *TermsRequest) (*TermsResponse, error) + type UnsafeAutopilotServer interface + type Version struct + Major uint32 + Minor uint32 + Patch uint32 + func (*Version) Descriptor() ([]byte, []int) + func (*Version) ProtoMessage() + func (x *Version) GetMajor() uint32 + func (x *Version) GetMinor() uint32 + func (x *Version) GetPatch() uint32 + func (x *Version) ProtoReflect() protoreflect.Message + func (x *Version) Reset() + func (x *Version) String() string