Documentation ¶
Index ¶
- Variables
- func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
- type AddInvoiceRequest
- func (*AddInvoiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddInvoiceRequest) GetAmtMsat() int64
- func (x *AddInvoiceRequest) GetDescription() string
- func (x *AddInvoiceRequest) GetDescriptionHash() []byte
- func (x *AddInvoiceRequest) GetExpirySecs() int64
- func (*AddInvoiceRequest) ProtoMessage()
- func (x *AddInvoiceRequest) ProtoReflect() protoreflect.Message
- func (x *AddInvoiceRequest) Reset()
- func (x *AddInvoiceRequest) String() string
- func (m *AddInvoiceRequest) Validate() error
- type AddInvoiceRequestValidationError
- func (e AddInvoiceRequestValidationError) Cause() error
- func (e AddInvoiceRequestValidationError) Error() string
- func (e AddInvoiceRequestValidationError) ErrorName() string
- func (e AddInvoiceRequestValidationError) Field() string
- func (e AddInvoiceRequestValidationError) Key() bool
- func (e AddInvoiceRequestValidationError) Reason() string
- type AddInvoiceResponse
- func (*AddInvoiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddInvoiceResponse) GetHash() []byte
- func (x *AddInvoiceResponse) GetPaymentRequest() string
- func (x *AddInvoiceResponse) GetPreimage() []byte
- func (*AddInvoiceResponse) ProtoMessage()
- func (x *AddInvoiceResponse) ProtoReflect() protoreflect.Message
- func (x *AddInvoiceResponse) Reset()
- func (x *AddInvoiceResponse) String() string
- func (m *AddInvoiceResponse) Validate() error
- type AddInvoiceResponseValidationError
- func (e AddInvoiceResponseValidationError) Cause() error
- func (e AddInvoiceResponseValidationError) Error() string
- func (e AddInvoiceResponseValidationError) ErrorName() string
- func (e AddInvoiceResponseValidationError) Field() string
- func (e AddInvoiceResponseValidationError) Key() bool
- func (e AddInvoiceResponseValidationError) Reason() string
- type CancelInvoiceRequest
- func (*CancelInvoiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelInvoiceRequest) GetHash() []byte
- func (x *CancelInvoiceRequest) GetSetId() []byte
- func (*CancelInvoiceRequest) ProtoMessage()
- func (x *CancelInvoiceRequest) ProtoReflect() protoreflect.Message
- func (x *CancelInvoiceRequest) Reset()
- func (x *CancelInvoiceRequest) String() string
- func (m *CancelInvoiceRequest) Validate() error
- type CancelInvoiceRequestValidationError
- func (e CancelInvoiceRequestValidationError) Cause() error
- func (e CancelInvoiceRequestValidationError) Error() string
- func (e CancelInvoiceRequestValidationError) ErrorName() string
- func (e CancelInvoiceRequestValidationError) Field() string
- func (e CancelInvoiceRequestValidationError) Key() bool
- func (e CancelInvoiceRequestValidationError) Reason() string
- type CancelInvoiceResponse
- func (*CancelInvoiceResponse) Descriptor() ([]byte, []int)deprecated
- func (*CancelInvoiceResponse) ProtoMessage()
- func (x *CancelInvoiceResponse) ProtoReflect() protoreflect.Message
- func (x *CancelInvoiceResponse) Reset()
- func (x *CancelInvoiceResponse) String() string
- func (m *CancelInvoiceResponse) Validate() error
- type CancelInvoiceResponseValidationError
- func (e CancelInvoiceResponseValidationError) Cause() error
- func (e CancelInvoiceResponseValidationError) Error() string
- func (e CancelInvoiceResponseValidationError) ErrorName() string
- func (e CancelInvoiceResponseValidationError) Field() string
- func (e CancelInvoiceResponseValidationError) Key() bool
- func (e CancelInvoiceResponseValidationError) Reason() string
- type GetInfoRequest
- type GetInfoRequestValidationError
- func (e GetInfoRequestValidationError) Cause() error
- func (e GetInfoRequestValidationError) Error() string
- func (e GetInfoRequestValidationError) ErrorName() string
- func (e GetInfoRequestValidationError) Field() string
- func (e GetInfoRequestValidationError) Key() bool
- func (e GetInfoRequestValidationError) Reason() string
- type GetInfoResponse
- func (*GetInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInfoResponse) GetAutoSettle() bool
- func (x *GetInfoResponse) GetNetwork() string
- func (x *GetInfoResponse) GetNodes() []*NodeInfo
- func (x *GetInfoResponse) GetPubKey() []byte
- func (*GetInfoResponse) ProtoMessage()
- func (x *GetInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetInfoResponse) Reset()
- func (x *GetInfoResponse) String() string
- func (m *GetInfoResponse) Validate() error
- type GetInfoResponseValidationError
- func (e GetInfoResponseValidationError) Cause() error
- func (e GetInfoResponseValidationError) Error() string
- func (e GetInfoResponseValidationError) ErrorName() string
- func (e GetInfoResponseValidationError) Field() string
- func (e GetInfoResponseValidationError) Key() bool
- func (e GetInfoResponseValidationError) Reason() string
- type Invoice
- func (*Invoice) Descriptor() ([]byte, []int)deprecated
- func (x *Invoice) GetAmountMsat() uint64
- func (x *Invoice) GetFinalizedAt() uint64
- func (x *Invoice) GetHash() []byte
- func (x *Invoice) GetPreimage() []byte
- func (x *Invoice) GetSequenceNumber() uint64
- func (x *Invoice) GetSettleRequestedAt() uint64
- func (x *Invoice) GetStatus() InvoiceStatus
- func (*Invoice) ProtoMessage()
- func (x *Invoice) ProtoReflect() protoreflect.Message
- func (x *Invoice) Reset()
- func (x *Invoice) String() string
- func (m *Invoice) Validate() error
- type InvoiceStatus
- func (InvoiceStatus) Descriptor() protoreflect.EnumDescriptor
- func (x InvoiceStatus) Enum() *InvoiceStatus
- func (InvoiceStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x InvoiceStatus) Number() protoreflect.EnumNumber
- func (x InvoiceStatus) String() string
- func (InvoiceStatus) Type() protoreflect.EnumType
- type InvoiceValidationError
- type ListInvoicesRequest
- func (*ListInvoicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInvoicesRequest) GetMaxInvoicesCount() uint64
- func (x *ListInvoicesRequest) GetSequenceStart() uint64
- func (*ListInvoicesRequest) ProtoMessage()
- func (x *ListInvoicesRequest) ProtoReflect() protoreflect.Message
- func (x *ListInvoicesRequest) Reset()
- func (x *ListInvoicesRequest) String() string
- func (m *ListInvoicesRequest) Validate() error
- type ListInvoicesRequestValidationError
- func (e ListInvoicesRequestValidationError) Cause() error
- func (e ListInvoicesRequestValidationError) Error() string
- func (e ListInvoicesRequestValidationError) ErrorName() string
- func (e ListInvoicesRequestValidationError) Field() string
- func (e ListInvoicesRequestValidationError) Key() bool
- func (e ListInvoicesRequestValidationError) Reason() string
- type ListInvoicesResponse
- func (*ListInvoicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInvoicesResponse) GetFirstSequenceNumber() uint64
- func (x *ListInvoicesResponse) GetInvoice() []*Invoice
- func (x *ListInvoicesResponse) GetLastSequenceNumber() uint64
- func (*ListInvoicesResponse) ProtoMessage()
- func (x *ListInvoicesResponse) ProtoReflect() protoreflect.Message
- func (x *ListInvoicesResponse) Reset()
- func (x *ListInvoicesResponse) String() string
- func (m *ListInvoicesResponse) Validate() error
- type ListInvoicesResponseValidationError
- func (e ListInvoicesResponseValidationError) Cause() error
- func (e ListInvoicesResponseValidationError) Error() string
- func (e ListInvoicesResponseValidationError) ErrorName() string
- func (e ListInvoicesResponseValidationError) Field() string
- func (e ListInvoicesResponseValidationError) Key() bool
- func (e ListInvoicesResponseValidationError) Reason() string
- type NodeInfo
- type NodeInfoValidationError
- type ServiceClient
- type ServiceServer
- type Service_SubscribeInvoiceAcceptedClient
- type Service_SubscribeInvoiceAcceptedServer
- type SettleInvoiceRequest
- func (*SettleInvoiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SettleInvoiceRequest) GetHash() []byte
- func (x *SettleInvoiceRequest) GetSetId() []byte
- func (*SettleInvoiceRequest) ProtoMessage()
- func (x *SettleInvoiceRequest) ProtoReflect() protoreflect.Message
- func (x *SettleInvoiceRequest) Reset()
- func (x *SettleInvoiceRequest) String() string
- func (m *SettleInvoiceRequest) Validate() error
- type SettleInvoiceRequestValidationError
- func (e SettleInvoiceRequestValidationError) Cause() error
- func (e SettleInvoiceRequestValidationError) Error() string
- func (e SettleInvoiceRequestValidationError) ErrorName() string
- func (e SettleInvoiceRequestValidationError) Field() string
- func (e SettleInvoiceRequestValidationError) Key() bool
- func (e SettleInvoiceRequestValidationError) Reason() string
- type SettleInvoiceResponse
- func (*SettleInvoiceResponse) Descriptor() ([]byte, []int)deprecated
- func (*SettleInvoiceResponse) ProtoMessage()
- func (x *SettleInvoiceResponse) ProtoReflect() protoreflect.Message
- func (x *SettleInvoiceResponse) Reset()
- func (x *SettleInvoiceResponse) String() string
- func (m *SettleInvoiceResponse) Validate() error
- type SettleInvoiceResponseValidationError
- func (e SettleInvoiceResponseValidationError) Cause() error
- func (e SettleInvoiceResponseValidationError) Error() string
- func (e SettleInvoiceResponseValidationError) ErrorName() string
- func (e SettleInvoiceResponseValidationError) Field() string
- func (e SettleInvoiceResponseValidationError) Key() bool
- func (e SettleInvoiceResponseValidationError) Reason() string
- type SubscribeInvoiceAcceptedRequest
- func (*SubscribeInvoiceAcceptedRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeInvoiceAcceptedRequest) ProtoMessage()
- func (x *SubscribeInvoiceAcceptedRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeInvoiceAcceptedRequest) Reset()
- func (x *SubscribeInvoiceAcceptedRequest) String() string
- func (m *SubscribeInvoiceAcceptedRequest) Validate() error
- type SubscribeInvoiceAcceptedRequestValidationError
- func (e SubscribeInvoiceAcceptedRequestValidationError) Cause() error
- func (e SubscribeInvoiceAcceptedRequestValidationError) Error() string
- func (e SubscribeInvoiceAcceptedRequestValidationError) ErrorName() string
- func (e SubscribeInvoiceAcceptedRequestValidationError) Field() string
- func (e SubscribeInvoiceAcceptedRequestValidationError) Key() bool
- func (e SubscribeInvoiceAcceptedRequestValidationError) Reason() string
- type SubscribeInvoiceAcceptedResponse
- func (*SubscribeInvoiceAcceptedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeInvoiceAcceptedResponse) GetHash() []byte
- func (x *SubscribeInvoiceAcceptedResponse) GetSetId() []byte
- func (*SubscribeInvoiceAcceptedResponse) ProtoMessage()
- func (x *SubscribeInvoiceAcceptedResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeInvoiceAcceptedResponse) Reset()
- func (x *SubscribeInvoiceAcceptedResponse) String() string
- func (m *SubscribeInvoiceAcceptedResponse) Validate() error
- type SubscribeInvoiceAcceptedResponseValidationError
- func (e SubscribeInvoiceAcceptedResponseValidationError) Cause() error
- func (e SubscribeInvoiceAcceptedResponseValidationError) Error() string
- func (e SubscribeInvoiceAcceptedResponseValidationError) ErrorName() string
- func (e SubscribeInvoiceAcceptedResponseValidationError) Field() string
- func (e SubscribeInvoiceAcceptedResponseValidationError) Key() bool
- func (e SubscribeInvoiceAcceptedResponseValidationError) Reason() string
- type UnimplementedServiceServer
- func (UnimplementedServiceServer) AddInvoice(context.Context, *AddInvoiceRequest) (*AddInvoiceResponse, error)
- func (UnimplementedServiceServer) CancelInvoice(context.Context, *CancelInvoiceRequest) (*CancelInvoiceResponse, error)
- func (UnimplementedServiceServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
- func (UnimplementedServiceServer) ListInvoices(context.Context, *ListInvoicesRequest) (*ListInvoicesResponse, error)
- func (UnimplementedServiceServer) SettleInvoice(context.Context, *SettleInvoiceRequest) (*SettleInvoiceResponse, error)
- func (UnimplementedServiceServer) SubscribeInvoiceAccepted(*SubscribeInvoiceAcceptedRequest, Service_SubscribeInvoiceAcceptedServer) error
- func (UnimplementedServiceServer) WaitForInvoiceFinalStatus(context.Context, *WaitForInvoiceFinalStatusRequest) (*WaitForInvoiceFinalStatusResponse, error)
- type UnsafeServiceServer
- type WaitForInvoiceFinalStatusRequest
- func (*WaitForInvoiceFinalStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForInvoiceFinalStatusRequest) GetHash() []byte
- func (*WaitForInvoiceFinalStatusRequest) ProtoMessage()
- func (x *WaitForInvoiceFinalStatusRequest) ProtoReflect() protoreflect.Message
- func (x *WaitForInvoiceFinalStatusRequest) Reset()
- func (x *WaitForInvoiceFinalStatusRequest) String() string
- func (m *WaitForInvoiceFinalStatusRequest) Validate() error
- type WaitForInvoiceFinalStatusRequestValidationError
- func (e WaitForInvoiceFinalStatusRequestValidationError) Cause() error
- func (e WaitForInvoiceFinalStatusRequestValidationError) Error() string
- func (e WaitForInvoiceFinalStatusRequestValidationError) ErrorName() string
- func (e WaitForInvoiceFinalStatusRequestValidationError) Field() string
- func (e WaitForInvoiceFinalStatusRequestValidationError) Key() bool
- func (e WaitForInvoiceFinalStatusRequestValidationError) Reason() string
- type WaitForInvoiceFinalStatusResponse
- func (*WaitForInvoiceFinalStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForInvoiceFinalStatusResponse) GetInvoiceStatus() InvoiceStatus
- func (*WaitForInvoiceFinalStatusResponse) ProtoMessage()
- func (x *WaitForInvoiceFinalStatusResponse) ProtoReflect() protoreflect.Message
- func (x *WaitForInvoiceFinalStatusResponse) Reset()
- func (x *WaitForInvoiceFinalStatusResponse) String() string
- func (m *WaitForInvoiceFinalStatusResponse) Validate() error
- type WaitForInvoiceFinalStatusResponseValidationError
- func (e WaitForInvoiceFinalStatusResponseValidationError) Cause() error
- func (e WaitForInvoiceFinalStatusResponseValidationError) Error() string
- func (e WaitForInvoiceFinalStatusResponseValidationError) ErrorName() string
- func (e WaitForInvoiceFinalStatusResponseValidationError) Field() string
- func (e WaitForInvoiceFinalStatusResponseValidationError) Key() bool
- func (e WaitForInvoiceFinalStatusResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( InvoiceStatus_name = map[int32]string{ 0: "UNKNOWN", 1: "FAILED", 2: "SETTLE_REQUESTED", 3: "SETTLED", } InvoiceStatus_value = map[string]int32{ "UNKNOWN": 0, "FAILED": 1, "SETTLE_REQUESTED": 2, "SETTLED": 3, } )
Enum value maps for InvoiceStatus.
var File_lnmux_proto protoreflect.FileDescriptor
var Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "lnmux.Service", HandlerType: (*ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetInfo", Handler: _Service_GetInfo_Handler, }, { MethodName: "AddInvoice", Handler: _Service_AddInvoice_Handler, }, { MethodName: "WaitForInvoiceFinalStatus", Handler: _Service_WaitForInvoiceFinalStatus_Handler, }, { MethodName: "SettleInvoice", Handler: _Service_SettleInvoice_Handler, }, { MethodName: "CancelInvoice", Handler: _Service_CancelInvoice_Handler, }, { MethodName: "ListInvoices", Handler: _Service_ListInvoices_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SubscribeInvoiceAccepted", Handler: _Service_SubscribeInvoiceAccepted_Handler, ServerStreams: true, }, }, Metadata: "lnmux.proto", }
Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServiceServer ¶
func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
Types ¶
type AddInvoiceRequest ¶
type AddInvoiceRequest struct { AmtMsat int64 `protobuf:"varint,1,opt,name=amt_msat,json=amtMsat,proto3" json:"amt_msat,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` DescriptionHash []byte `protobuf:"bytes,3,opt,name=description_hash,json=descriptionHash,proto3" json:"description_hash,omitempty"` ExpirySecs int64 `protobuf:"varint,4,opt,name=expiry_secs,json=expirySecs,proto3" json:"expiry_secs,omitempty"` // contains filtered or unexported fields }
func (*AddInvoiceRequest) Descriptor
deprecated
func (*AddInvoiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddInvoiceRequest.ProtoReflect.Descriptor instead.
func (*AddInvoiceRequest) GetAmtMsat ¶
func (x *AddInvoiceRequest) GetAmtMsat() int64
func (*AddInvoiceRequest) GetDescription ¶
func (x *AddInvoiceRequest) GetDescription() string
func (*AddInvoiceRequest) GetDescriptionHash ¶
func (x *AddInvoiceRequest) GetDescriptionHash() []byte
func (*AddInvoiceRequest) GetExpirySecs ¶
func (x *AddInvoiceRequest) GetExpirySecs() int64
func (*AddInvoiceRequest) ProtoMessage ¶
func (*AddInvoiceRequest) ProtoMessage()
func (*AddInvoiceRequest) ProtoReflect ¶
func (x *AddInvoiceRequest) ProtoReflect() protoreflect.Message
func (*AddInvoiceRequest) Reset ¶
func (x *AddInvoiceRequest) Reset()
func (*AddInvoiceRequest) String ¶
func (x *AddInvoiceRequest) String() string
func (*AddInvoiceRequest) Validate ¶
func (m *AddInvoiceRequest) Validate() error
Validate checks the field values on AddInvoiceRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AddInvoiceRequestValidationError ¶
type AddInvoiceRequestValidationError struct {
// contains filtered or unexported fields
}
AddInvoiceRequestValidationError is the validation error returned by AddInvoiceRequest.Validate if the designated constraints aren't met.
func (AddInvoiceRequestValidationError) Cause ¶
func (e AddInvoiceRequestValidationError) Cause() error
Cause function returns cause value.
func (AddInvoiceRequestValidationError) Error ¶
func (e AddInvoiceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddInvoiceRequestValidationError) ErrorName ¶
func (e AddInvoiceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddInvoiceRequestValidationError) Field ¶
func (e AddInvoiceRequestValidationError) Field() string
Field function returns field value.
func (AddInvoiceRequestValidationError) Key ¶
func (e AddInvoiceRequestValidationError) Key() bool
Key function returns key value.
func (AddInvoiceRequestValidationError) Reason ¶
func (e AddInvoiceRequestValidationError) Reason() string
Reason function returns reason value.
type AddInvoiceResponse ¶
type AddInvoiceResponse struct { PaymentRequest string `protobuf:"bytes,1,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"` Preimage []byte `protobuf:"bytes,2,opt,name=preimage,proto3" json:"preimage,omitempty"` Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*AddInvoiceResponse) Descriptor
deprecated
func (*AddInvoiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddInvoiceResponse.ProtoReflect.Descriptor instead.
func (*AddInvoiceResponse) GetHash ¶
func (x *AddInvoiceResponse) GetHash() []byte
func (*AddInvoiceResponse) GetPaymentRequest ¶
func (x *AddInvoiceResponse) GetPaymentRequest() string
func (*AddInvoiceResponse) GetPreimage ¶
func (x *AddInvoiceResponse) GetPreimage() []byte
func (*AddInvoiceResponse) ProtoMessage ¶
func (*AddInvoiceResponse) ProtoMessage()
func (*AddInvoiceResponse) ProtoReflect ¶
func (x *AddInvoiceResponse) ProtoReflect() protoreflect.Message
func (*AddInvoiceResponse) Reset ¶
func (x *AddInvoiceResponse) Reset()
func (*AddInvoiceResponse) String ¶
func (x *AddInvoiceResponse) String() string
func (*AddInvoiceResponse) Validate ¶
func (m *AddInvoiceResponse) Validate() error
Validate checks the field values on AddInvoiceResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AddInvoiceResponseValidationError ¶
type AddInvoiceResponseValidationError struct {
// contains filtered or unexported fields
}
AddInvoiceResponseValidationError is the validation error returned by AddInvoiceResponse.Validate if the designated constraints aren't met.
func (AddInvoiceResponseValidationError) Cause ¶
func (e AddInvoiceResponseValidationError) Cause() error
Cause function returns cause value.
func (AddInvoiceResponseValidationError) Error ¶
func (e AddInvoiceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddInvoiceResponseValidationError) ErrorName ¶
func (e AddInvoiceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddInvoiceResponseValidationError) Field ¶
func (e AddInvoiceResponseValidationError) Field() string
Field function returns field value.
func (AddInvoiceResponseValidationError) Key ¶
func (e AddInvoiceResponseValidationError) Key() bool
Key function returns key value.
func (AddInvoiceResponseValidationError) Reason ¶
func (e AddInvoiceResponseValidationError) Reason() string
Reason function returns reason value.
type CancelInvoiceRequest ¶
type CancelInvoiceRequest struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` SetId []byte `protobuf:"bytes,2,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"` // contains filtered or unexported fields }
func (*CancelInvoiceRequest) Descriptor
deprecated
func (*CancelInvoiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelInvoiceRequest.ProtoReflect.Descriptor instead.
func (*CancelInvoiceRequest) GetHash ¶
func (x *CancelInvoiceRequest) GetHash() []byte
func (*CancelInvoiceRequest) GetSetId ¶
func (x *CancelInvoiceRequest) GetSetId() []byte
func (*CancelInvoiceRequest) ProtoMessage ¶
func (*CancelInvoiceRequest) ProtoMessage()
func (*CancelInvoiceRequest) ProtoReflect ¶
func (x *CancelInvoiceRequest) ProtoReflect() protoreflect.Message
func (*CancelInvoiceRequest) Reset ¶
func (x *CancelInvoiceRequest) Reset()
func (*CancelInvoiceRequest) String ¶
func (x *CancelInvoiceRequest) String() string
func (*CancelInvoiceRequest) Validate ¶
func (m *CancelInvoiceRequest) Validate() error
Validate checks the field values on CancelInvoiceRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CancelInvoiceRequestValidationError ¶
type CancelInvoiceRequestValidationError struct {
// contains filtered or unexported fields
}
CancelInvoiceRequestValidationError is the validation error returned by CancelInvoiceRequest.Validate if the designated constraints aren't met.
func (CancelInvoiceRequestValidationError) Cause ¶
func (e CancelInvoiceRequestValidationError) Cause() error
Cause function returns cause value.
func (CancelInvoiceRequestValidationError) Error ¶
func (e CancelInvoiceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CancelInvoiceRequestValidationError) ErrorName ¶
func (e CancelInvoiceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CancelInvoiceRequestValidationError) Field ¶
func (e CancelInvoiceRequestValidationError) Field() string
Field function returns field value.
func (CancelInvoiceRequestValidationError) Key ¶
func (e CancelInvoiceRequestValidationError) Key() bool
Key function returns key value.
func (CancelInvoiceRequestValidationError) Reason ¶
func (e CancelInvoiceRequestValidationError) Reason() string
Reason function returns reason value.
type CancelInvoiceResponse ¶
type CancelInvoiceResponse struct {
// contains filtered or unexported fields
}
func (*CancelInvoiceResponse) Descriptor
deprecated
func (*CancelInvoiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelInvoiceResponse.ProtoReflect.Descriptor instead.
func (*CancelInvoiceResponse) ProtoMessage ¶
func (*CancelInvoiceResponse) ProtoMessage()
func (*CancelInvoiceResponse) ProtoReflect ¶
func (x *CancelInvoiceResponse) ProtoReflect() protoreflect.Message
func (*CancelInvoiceResponse) Reset ¶
func (x *CancelInvoiceResponse) Reset()
func (*CancelInvoiceResponse) String ¶
func (x *CancelInvoiceResponse) String() string
func (*CancelInvoiceResponse) Validate ¶
func (m *CancelInvoiceResponse) Validate() error
Validate checks the field values on CancelInvoiceResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CancelInvoiceResponseValidationError ¶
type CancelInvoiceResponseValidationError struct {
// contains filtered or unexported fields
}
CancelInvoiceResponseValidationError is the validation error returned by CancelInvoiceResponse.Validate if the designated constraints aren't met.
func (CancelInvoiceResponseValidationError) Cause ¶
func (e CancelInvoiceResponseValidationError) Cause() error
Cause function returns cause value.
func (CancelInvoiceResponseValidationError) Error ¶
func (e CancelInvoiceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CancelInvoiceResponseValidationError) ErrorName ¶
func (e CancelInvoiceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CancelInvoiceResponseValidationError) Field ¶
func (e CancelInvoiceResponseValidationError) Field() string
Field function returns field value.
func (CancelInvoiceResponseValidationError) Key ¶
func (e CancelInvoiceResponseValidationError) Key() bool
Key function returns key value.
func (CancelInvoiceResponseValidationError) Reason ¶
func (e CancelInvoiceResponseValidationError) Reason() string
Reason function returns reason value.
type GetInfoRequest ¶
type GetInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetInfoRequest) Descriptor
deprecated
func (*GetInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.
func (*GetInfoRequest) ProtoMessage ¶
func (*GetInfoRequest) ProtoMessage()
func (*GetInfoRequest) ProtoReflect ¶
func (x *GetInfoRequest) ProtoReflect() protoreflect.Message
func (*GetInfoRequest) Reset ¶
func (x *GetInfoRequest) Reset()
func (*GetInfoRequest) String ¶
func (x *GetInfoRequest) String() string
func (*GetInfoRequest) Validate ¶
func (m *GetInfoRequest) Validate() error
Validate checks the field values on GetInfoRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetInfoRequestValidationError ¶
type GetInfoRequestValidationError struct {
// contains filtered or unexported fields
}
GetInfoRequestValidationError is the validation error returned by GetInfoRequest.Validate if the designated constraints aren't met.
func (GetInfoRequestValidationError) Cause ¶
func (e GetInfoRequestValidationError) Cause() error
Cause function returns cause value.
func (GetInfoRequestValidationError) Error ¶
func (e GetInfoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetInfoRequestValidationError) ErrorName ¶
func (e GetInfoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetInfoRequestValidationError) Field ¶
func (e GetInfoRequestValidationError) Field() string
Field function returns field value.
func (GetInfoRequestValidationError) Key ¶
func (e GetInfoRequestValidationError) Key() bool
Key function returns key value.
func (GetInfoRequestValidationError) Reason ¶
func (e GetInfoRequestValidationError) Reason() string
Reason function returns reason value.
type GetInfoResponse ¶
type GetInfoResponse struct { PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"` Nodes []*NodeInfo `protobuf:"bytes,3,rep,name=nodes,proto3" json:"nodes,omitempty"` AutoSettle bool `protobuf:"varint,4,opt,name=auto_settle,json=autoSettle,proto3" json:"auto_settle,omitempty"` // contains filtered or unexported fields }
func (*GetInfoResponse) Descriptor
deprecated
func (*GetInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.
func (*GetInfoResponse) GetAutoSettle ¶
func (x *GetInfoResponse) GetAutoSettle() bool
func (*GetInfoResponse) GetNetwork ¶
func (x *GetInfoResponse) GetNetwork() string
func (*GetInfoResponse) GetNodes ¶
func (x *GetInfoResponse) GetNodes() []*NodeInfo
func (*GetInfoResponse) GetPubKey ¶
func (x *GetInfoResponse) GetPubKey() []byte
func (*GetInfoResponse) ProtoMessage ¶
func (*GetInfoResponse) ProtoMessage()
func (*GetInfoResponse) ProtoReflect ¶
func (x *GetInfoResponse) ProtoReflect() protoreflect.Message
func (*GetInfoResponse) Reset ¶
func (x *GetInfoResponse) Reset()
func (*GetInfoResponse) String ¶
func (x *GetInfoResponse) String() string
func (*GetInfoResponse) Validate ¶
func (m *GetInfoResponse) Validate() error
Validate checks the field values on GetInfoResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetInfoResponseValidationError ¶
type GetInfoResponseValidationError struct {
// contains filtered or unexported fields
}
GetInfoResponseValidationError is the validation error returned by GetInfoResponse.Validate if the designated constraints aren't met.
func (GetInfoResponseValidationError) Cause ¶
func (e GetInfoResponseValidationError) Cause() error
Cause function returns cause value.
func (GetInfoResponseValidationError) Error ¶
func (e GetInfoResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetInfoResponseValidationError) ErrorName ¶
func (e GetInfoResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetInfoResponseValidationError) Field ¶
func (e GetInfoResponseValidationError) Field() string
Field function returns field value.
func (GetInfoResponseValidationError) Key ¶
func (e GetInfoResponseValidationError) Key() bool
Key function returns key value.
func (GetInfoResponseValidationError) Reason ¶
func (e GetInfoResponseValidationError) Reason() string
Reason function returns reason value.
type Invoice ¶
type Invoice struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Preimage []byte `protobuf:"bytes,2,opt,name=preimage,proto3" json:"preimage,omitempty"` AmountMsat uint64 `protobuf:"varint,3,opt,name=amount_msat,json=amountMsat,proto3" json:"amount_msat,omitempty"` Status InvoiceStatus `protobuf:"varint,4,opt,name=status,proto3,enum=lnmux.InvoiceStatus" json:"status,omitempty"` SettleRequestedAt uint64 `protobuf:"varint,5,opt,name=settle_requested_at,json=settleRequestedAt,proto3" json:"settle_requested_at,omitempty"` FinalizedAt uint64 `protobuf:"varint,6,opt,name=finalized_at,json=finalizedAt,proto3" json:"finalized_at,omitempty"` SequenceNumber uint64 `protobuf:"varint,7,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` // contains filtered or unexported fields }
func (*Invoice) Descriptor
deprecated
func (*Invoice) GetAmountMsat ¶
func (*Invoice) GetFinalizedAt ¶
func (*Invoice) GetPreimage ¶
func (*Invoice) GetSequenceNumber ¶
func (*Invoice) GetSettleRequestedAt ¶
func (*Invoice) GetStatus ¶
func (x *Invoice) GetStatus() InvoiceStatus
func (*Invoice) ProtoMessage ¶
func (*Invoice) ProtoMessage()
func (*Invoice) ProtoReflect ¶
func (x *Invoice) ProtoReflect() protoreflect.Message
type InvoiceStatus ¶
type InvoiceStatus int32
const ( InvoiceStatus_UNKNOWN InvoiceStatus = 0 InvoiceStatus_FAILED InvoiceStatus = 1 InvoiceStatus_SETTLE_REQUESTED InvoiceStatus = 2 InvoiceStatus_SETTLED InvoiceStatus = 3 )
func (InvoiceStatus) Descriptor ¶
func (InvoiceStatus) Descriptor() protoreflect.EnumDescriptor
func (InvoiceStatus) Enum ¶
func (x InvoiceStatus) Enum() *InvoiceStatus
func (InvoiceStatus) EnumDescriptor
deprecated
func (InvoiceStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use InvoiceStatus.Descriptor instead.
func (InvoiceStatus) Number ¶
func (x InvoiceStatus) Number() protoreflect.EnumNumber
func (InvoiceStatus) String ¶
func (x InvoiceStatus) String() string
func (InvoiceStatus) Type ¶
func (InvoiceStatus) Type() protoreflect.EnumType
type InvoiceValidationError ¶
type InvoiceValidationError struct {
// contains filtered or unexported fields
}
InvoiceValidationError is the validation error returned by Invoice.Validate if the designated constraints aren't met.
func (InvoiceValidationError) Cause ¶
func (e InvoiceValidationError) Cause() error
Cause function returns cause value.
func (InvoiceValidationError) Error ¶
func (e InvoiceValidationError) Error() string
Error satisfies the builtin error interface
func (InvoiceValidationError) ErrorName ¶
func (e InvoiceValidationError) ErrorName() string
ErrorName returns error name.
func (InvoiceValidationError) Field ¶
func (e InvoiceValidationError) Field() string
Field function returns field value.
func (InvoiceValidationError) Key ¶
func (e InvoiceValidationError) Key() bool
Key function returns key value.
func (InvoiceValidationError) Reason ¶
func (e InvoiceValidationError) Reason() string
Reason function returns reason value.
type ListInvoicesRequest ¶
type ListInvoicesRequest struct { MaxInvoicesCount uint64 `protobuf:"varint,1,opt,name=max_invoices_count,json=maxInvoicesCount,proto3" json:"max_invoices_count,omitempty"` SequenceStart uint64 `protobuf:"varint,2,opt,name=sequence_start,json=sequenceStart,proto3" json:"sequence_start,omitempty"` // contains filtered or unexported fields }
func (*ListInvoicesRequest) Descriptor
deprecated
func (*ListInvoicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInvoicesRequest.ProtoReflect.Descriptor instead.
func (*ListInvoicesRequest) GetMaxInvoicesCount ¶
func (x *ListInvoicesRequest) GetMaxInvoicesCount() uint64
func (*ListInvoicesRequest) GetSequenceStart ¶
func (x *ListInvoicesRequest) GetSequenceStart() uint64
func (*ListInvoicesRequest) ProtoMessage ¶
func (*ListInvoicesRequest) ProtoMessage()
func (*ListInvoicesRequest) ProtoReflect ¶
func (x *ListInvoicesRequest) ProtoReflect() protoreflect.Message
func (*ListInvoicesRequest) Reset ¶
func (x *ListInvoicesRequest) Reset()
func (*ListInvoicesRequest) String ¶
func (x *ListInvoicesRequest) String() string
func (*ListInvoicesRequest) Validate ¶
func (m *ListInvoicesRequest) Validate() error
Validate checks the field values on ListInvoicesRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListInvoicesRequestValidationError ¶
type ListInvoicesRequestValidationError struct {
// contains filtered or unexported fields
}
ListInvoicesRequestValidationError is the validation error returned by ListInvoicesRequest.Validate if the designated constraints aren't met.
func (ListInvoicesRequestValidationError) Cause ¶
func (e ListInvoicesRequestValidationError) Cause() error
Cause function returns cause value.
func (ListInvoicesRequestValidationError) Error ¶
func (e ListInvoicesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListInvoicesRequestValidationError) ErrorName ¶
func (e ListInvoicesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListInvoicesRequestValidationError) Field ¶
func (e ListInvoicesRequestValidationError) Field() string
Field function returns field value.
func (ListInvoicesRequestValidationError) Key ¶
func (e ListInvoicesRequestValidationError) Key() bool
Key function returns key value.
func (ListInvoicesRequestValidationError) Reason ¶
func (e ListInvoicesRequestValidationError) Reason() string
Reason function returns reason value.
type ListInvoicesResponse ¶
type ListInvoicesResponse struct { Invoice []*Invoice `protobuf:"bytes,1,rep,name=invoice,proto3" json:"invoice,omitempty"` FirstSequenceNumber uint64 `protobuf:"varint,2,opt,name=first_sequence_number,json=firstSequenceNumber,proto3" json:"first_sequence_number,omitempty"` LastSequenceNumber uint64 `protobuf:"varint,3,opt,name=last_sequence_number,json=lastSequenceNumber,proto3" json:"last_sequence_number,omitempty"` // contains filtered or unexported fields }
func (*ListInvoicesResponse) Descriptor
deprecated
func (*ListInvoicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInvoicesResponse.ProtoReflect.Descriptor instead.
func (*ListInvoicesResponse) GetFirstSequenceNumber ¶
func (x *ListInvoicesResponse) GetFirstSequenceNumber() uint64
func (*ListInvoicesResponse) GetInvoice ¶
func (x *ListInvoicesResponse) GetInvoice() []*Invoice
func (*ListInvoicesResponse) GetLastSequenceNumber ¶
func (x *ListInvoicesResponse) GetLastSequenceNumber() uint64
func (*ListInvoicesResponse) ProtoMessage ¶
func (*ListInvoicesResponse) ProtoMessage()
func (*ListInvoicesResponse) ProtoReflect ¶
func (x *ListInvoicesResponse) ProtoReflect() protoreflect.Message
func (*ListInvoicesResponse) Reset ¶
func (x *ListInvoicesResponse) Reset()
func (*ListInvoicesResponse) String ¶
func (x *ListInvoicesResponse) String() string
func (*ListInvoicesResponse) Validate ¶
func (m *ListInvoicesResponse) Validate() error
Validate checks the field values on ListInvoicesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListInvoicesResponseValidationError ¶
type ListInvoicesResponseValidationError struct {
// contains filtered or unexported fields
}
ListInvoicesResponseValidationError is the validation error returned by ListInvoicesResponse.Validate if the designated constraints aren't met.
func (ListInvoicesResponseValidationError) Cause ¶
func (e ListInvoicesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListInvoicesResponseValidationError) Error ¶
func (e ListInvoicesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListInvoicesResponseValidationError) ErrorName ¶
func (e ListInvoicesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListInvoicesResponseValidationError) Field ¶
func (e ListInvoicesResponseValidationError) Field() string
Field function returns field value.
func (ListInvoicesResponseValidationError) Key ¶
func (e ListInvoicesResponseValidationError) Key() bool
Key function returns key value.
func (ListInvoicesResponseValidationError) Reason ¶
func (e ListInvoicesResponseValidationError) Reason() string
Reason function returns reason value.
type NodeInfo ¶
type NodeInfo struct { PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo) Descriptor
deprecated
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()
func (*NodeInfo) ProtoReflect ¶
func (x *NodeInfo) ProtoReflect() protoreflect.Message
type NodeInfoValidationError ¶
type NodeInfoValidationError struct {
// contains filtered or unexported fields
}
NodeInfoValidationError is the validation error returned by NodeInfo.Validate if the designated constraints aren't met.
func (NodeInfoValidationError) Cause ¶
func (e NodeInfoValidationError) Cause() error
Cause function returns cause value.
func (NodeInfoValidationError) Error ¶
func (e NodeInfoValidationError) Error() string
Error satisfies the builtin error interface
func (NodeInfoValidationError) ErrorName ¶
func (e NodeInfoValidationError) ErrorName() string
ErrorName returns error name.
func (NodeInfoValidationError) Field ¶
func (e NodeInfoValidationError) Field() string
Field function returns field value.
func (NodeInfoValidationError) Key ¶
func (e NodeInfoValidationError) Key() bool
Key function returns key value.
func (NodeInfoValidationError) Reason ¶
func (e NodeInfoValidationError) Reason() string
Reason function returns reason value.
type ServiceClient ¶
type ServiceClient interface { GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error) AddInvoice(ctx context.Context, in *AddInvoiceRequest, opts ...grpc.CallOption) (*AddInvoiceResponse, error) SubscribeInvoiceAccepted(ctx context.Context, in *SubscribeInvoiceAcceptedRequest, opts ...grpc.CallOption) (Service_SubscribeInvoiceAcceptedClient, error) WaitForInvoiceFinalStatus(ctx context.Context, in *WaitForInvoiceFinalStatusRequest, opts ...grpc.CallOption) (*WaitForInvoiceFinalStatusResponse, error) // Requests settlement for an accepted invoice. This call is idempotent. SettleInvoice(ctx context.Context, in *SettleInvoiceRequest, opts ...grpc.CallOption) (*SettleInvoiceResponse, error) // Cancels an accepted invoice. In case settle has been requested // for an invoice, CancelInvoice returns a FailedPrecondition error. CancelInvoice(ctx context.Context, in *CancelInvoiceRequest, opts ...grpc.CallOption) (*CancelInvoiceResponse, error) // Lists settled or to be settled invoices. It returns invoices with a sequence number between // 'sequence_start' and 'sequence_start' + max_invoices_count'. ListInvoices(ctx context.Context, in *ListInvoicesRequest, opts ...grpc.CallOption) (*ListInvoicesResponse, error) }
ServiceClient is the client API for Service 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 NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceServer ¶
type ServiceServer interface { GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error) AddInvoice(context.Context, *AddInvoiceRequest) (*AddInvoiceResponse, error) SubscribeInvoiceAccepted(*SubscribeInvoiceAcceptedRequest, Service_SubscribeInvoiceAcceptedServer) error WaitForInvoiceFinalStatus(context.Context, *WaitForInvoiceFinalStatusRequest) (*WaitForInvoiceFinalStatusResponse, error) // Requests settlement for an accepted invoice. This call is idempotent. SettleInvoice(context.Context, *SettleInvoiceRequest) (*SettleInvoiceResponse, error) // Cancels an accepted invoice. In case settle has been requested // for an invoice, CancelInvoice returns a FailedPrecondition error. CancelInvoice(context.Context, *CancelInvoiceRequest) (*CancelInvoiceResponse, error) // Lists settled or to be settled invoices. It returns invoices with a sequence number between // 'sequence_start' and 'sequence_start' + max_invoices_count'. ListInvoices(context.Context, *ListInvoicesRequest) (*ListInvoicesResponse, error) // contains filtered or unexported methods }
ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility
type Service_SubscribeInvoiceAcceptedClient ¶
type Service_SubscribeInvoiceAcceptedClient interface { Recv() (*SubscribeInvoiceAcceptedResponse, error) grpc.ClientStream }
type Service_SubscribeInvoiceAcceptedServer ¶
type Service_SubscribeInvoiceAcceptedServer interface { Send(*SubscribeInvoiceAcceptedResponse) error grpc.ServerStream }
type SettleInvoiceRequest ¶
type SettleInvoiceRequest struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` SetId []byte `protobuf:"bytes,2,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"` // contains filtered or unexported fields }
func (*SettleInvoiceRequest) Descriptor
deprecated
func (*SettleInvoiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SettleInvoiceRequest.ProtoReflect.Descriptor instead.
func (*SettleInvoiceRequest) GetHash ¶
func (x *SettleInvoiceRequest) GetHash() []byte
func (*SettleInvoiceRequest) GetSetId ¶
func (x *SettleInvoiceRequest) GetSetId() []byte
func (*SettleInvoiceRequest) ProtoMessage ¶
func (*SettleInvoiceRequest) ProtoMessage()
func (*SettleInvoiceRequest) ProtoReflect ¶
func (x *SettleInvoiceRequest) ProtoReflect() protoreflect.Message
func (*SettleInvoiceRequest) Reset ¶
func (x *SettleInvoiceRequest) Reset()
func (*SettleInvoiceRequest) String ¶
func (x *SettleInvoiceRequest) String() string
func (*SettleInvoiceRequest) Validate ¶
func (m *SettleInvoiceRequest) Validate() error
Validate checks the field values on SettleInvoiceRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SettleInvoiceRequestValidationError ¶
type SettleInvoiceRequestValidationError struct {
// contains filtered or unexported fields
}
SettleInvoiceRequestValidationError is the validation error returned by SettleInvoiceRequest.Validate if the designated constraints aren't met.
func (SettleInvoiceRequestValidationError) Cause ¶
func (e SettleInvoiceRequestValidationError) Cause() error
Cause function returns cause value.
func (SettleInvoiceRequestValidationError) Error ¶
func (e SettleInvoiceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SettleInvoiceRequestValidationError) ErrorName ¶
func (e SettleInvoiceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SettleInvoiceRequestValidationError) Field ¶
func (e SettleInvoiceRequestValidationError) Field() string
Field function returns field value.
func (SettleInvoiceRequestValidationError) Key ¶
func (e SettleInvoiceRequestValidationError) Key() bool
Key function returns key value.
func (SettleInvoiceRequestValidationError) Reason ¶
func (e SettleInvoiceRequestValidationError) Reason() string
Reason function returns reason value.
type SettleInvoiceResponse ¶
type SettleInvoiceResponse struct {
// contains filtered or unexported fields
}
func (*SettleInvoiceResponse) Descriptor
deprecated
func (*SettleInvoiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use SettleInvoiceResponse.ProtoReflect.Descriptor instead.
func (*SettleInvoiceResponse) ProtoMessage ¶
func (*SettleInvoiceResponse) ProtoMessage()
func (*SettleInvoiceResponse) ProtoReflect ¶
func (x *SettleInvoiceResponse) ProtoReflect() protoreflect.Message
func (*SettleInvoiceResponse) Reset ¶
func (x *SettleInvoiceResponse) Reset()
func (*SettleInvoiceResponse) String ¶
func (x *SettleInvoiceResponse) String() string
func (*SettleInvoiceResponse) Validate ¶
func (m *SettleInvoiceResponse) Validate() error
Validate checks the field values on SettleInvoiceResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SettleInvoiceResponseValidationError ¶
type SettleInvoiceResponseValidationError struct {
// contains filtered or unexported fields
}
SettleInvoiceResponseValidationError is the validation error returned by SettleInvoiceResponse.Validate if the designated constraints aren't met.
func (SettleInvoiceResponseValidationError) Cause ¶
func (e SettleInvoiceResponseValidationError) Cause() error
Cause function returns cause value.
func (SettleInvoiceResponseValidationError) Error ¶
func (e SettleInvoiceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SettleInvoiceResponseValidationError) ErrorName ¶
func (e SettleInvoiceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SettleInvoiceResponseValidationError) Field ¶
func (e SettleInvoiceResponseValidationError) Field() string
Field function returns field value.
func (SettleInvoiceResponseValidationError) Key ¶
func (e SettleInvoiceResponseValidationError) Key() bool
Key function returns key value.
func (SettleInvoiceResponseValidationError) Reason ¶
func (e SettleInvoiceResponseValidationError) Reason() string
Reason function returns reason value.
type SubscribeInvoiceAcceptedRequest ¶
type SubscribeInvoiceAcceptedRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeInvoiceAcceptedRequest) Descriptor
deprecated
func (*SubscribeInvoiceAcceptedRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeInvoiceAcceptedRequest.ProtoReflect.Descriptor instead.
func (*SubscribeInvoiceAcceptedRequest) ProtoMessage ¶
func (*SubscribeInvoiceAcceptedRequest) ProtoMessage()
func (*SubscribeInvoiceAcceptedRequest) ProtoReflect ¶
func (x *SubscribeInvoiceAcceptedRequest) ProtoReflect() protoreflect.Message
func (*SubscribeInvoiceAcceptedRequest) Reset ¶
func (x *SubscribeInvoiceAcceptedRequest) Reset()
func (*SubscribeInvoiceAcceptedRequest) String ¶
func (x *SubscribeInvoiceAcceptedRequest) String() string
func (*SubscribeInvoiceAcceptedRequest) Validate ¶
func (m *SubscribeInvoiceAcceptedRequest) Validate() error
Validate checks the field values on SubscribeInvoiceAcceptedRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SubscribeInvoiceAcceptedRequestValidationError ¶
type SubscribeInvoiceAcceptedRequestValidationError struct {
// contains filtered or unexported fields
}
SubscribeInvoiceAcceptedRequestValidationError is the validation error returned by SubscribeInvoiceAcceptedRequest.Validate if the designated constraints aren't met.
func (SubscribeInvoiceAcceptedRequestValidationError) Cause ¶
func (e SubscribeInvoiceAcceptedRequestValidationError) Cause() error
Cause function returns cause value.
func (SubscribeInvoiceAcceptedRequestValidationError) Error ¶
func (e SubscribeInvoiceAcceptedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeInvoiceAcceptedRequestValidationError) ErrorName ¶
func (e SubscribeInvoiceAcceptedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeInvoiceAcceptedRequestValidationError) Field ¶
func (e SubscribeInvoiceAcceptedRequestValidationError) Field() string
Field function returns field value.
func (SubscribeInvoiceAcceptedRequestValidationError) Key ¶
func (e SubscribeInvoiceAcceptedRequestValidationError) Key() bool
Key function returns key value.
func (SubscribeInvoiceAcceptedRequestValidationError) Reason ¶
func (e SubscribeInvoiceAcceptedRequestValidationError) Reason() string
Reason function returns reason value.
type SubscribeInvoiceAcceptedResponse ¶
type SubscribeInvoiceAcceptedResponse struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` SetId []byte `protobuf:"bytes,2,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"` // contains filtered or unexported fields }
func (*SubscribeInvoiceAcceptedResponse) Descriptor
deprecated
func (*SubscribeInvoiceAcceptedResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeInvoiceAcceptedResponse.ProtoReflect.Descriptor instead.
func (*SubscribeInvoiceAcceptedResponse) GetHash ¶
func (x *SubscribeInvoiceAcceptedResponse) GetHash() []byte
func (*SubscribeInvoiceAcceptedResponse) GetSetId ¶
func (x *SubscribeInvoiceAcceptedResponse) GetSetId() []byte
func (*SubscribeInvoiceAcceptedResponse) ProtoMessage ¶
func (*SubscribeInvoiceAcceptedResponse) ProtoMessage()
func (*SubscribeInvoiceAcceptedResponse) ProtoReflect ¶
func (x *SubscribeInvoiceAcceptedResponse) ProtoReflect() protoreflect.Message
func (*SubscribeInvoiceAcceptedResponse) Reset ¶
func (x *SubscribeInvoiceAcceptedResponse) Reset()
func (*SubscribeInvoiceAcceptedResponse) String ¶
func (x *SubscribeInvoiceAcceptedResponse) String() string
func (*SubscribeInvoiceAcceptedResponse) Validate ¶
func (m *SubscribeInvoiceAcceptedResponse) Validate() error
Validate checks the field values on SubscribeInvoiceAcceptedResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SubscribeInvoiceAcceptedResponseValidationError ¶
type SubscribeInvoiceAcceptedResponseValidationError struct {
// contains filtered or unexported fields
}
SubscribeInvoiceAcceptedResponseValidationError is the validation error returned by SubscribeInvoiceAcceptedResponse.Validate if the designated constraints aren't met.
func (SubscribeInvoiceAcceptedResponseValidationError) Cause ¶
func (e SubscribeInvoiceAcceptedResponseValidationError) Cause() error
Cause function returns cause value.
func (SubscribeInvoiceAcceptedResponseValidationError) Error ¶
func (e SubscribeInvoiceAcceptedResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeInvoiceAcceptedResponseValidationError) ErrorName ¶
func (e SubscribeInvoiceAcceptedResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeInvoiceAcceptedResponseValidationError) Field ¶
func (e SubscribeInvoiceAcceptedResponseValidationError) Field() string
Field function returns field value.
func (SubscribeInvoiceAcceptedResponseValidationError) Key ¶
func (e SubscribeInvoiceAcceptedResponseValidationError) Key() bool
Key function returns key value.
func (SubscribeInvoiceAcceptedResponseValidationError) Reason ¶
func (e SubscribeInvoiceAcceptedResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceServer) AddInvoice ¶
func (UnimplementedServiceServer) AddInvoice(context.Context, *AddInvoiceRequest) (*AddInvoiceResponse, error)
func (UnimplementedServiceServer) CancelInvoice ¶
func (UnimplementedServiceServer) CancelInvoice(context.Context, *CancelInvoiceRequest) (*CancelInvoiceResponse, error)
func (UnimplementedServiceServer) GetInfo ¶
func (UnimplementedServiceServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
func (UnimplementedServiceServer) ListInvoices ¶
func (UnimplementedServiceServer) ListInvoices(context.Context, *ListInvoicesRequest) (*ListInvoicesResponse, error)
func (UnimplementedServiceServer) SettleInvoice ¶
func (UnimplementedServiceServer) SettleInvoice(context.Context, *SettleInvoiceRequest) (*SettleInvoiceResponse, error)
func (UnimplementedServiceServer) SubscribeInvoiceAccepted ¶
func (UnimplementedServiceServer) SubscribeInvoiceAccepted(*SubscribeInvoiceAcceptedRequest, Service_SubscribeInvoiceAcceptedServer) error
func (UnimplementedServiceServer) WaitForInvoiceFinalStatus ¶
func (UnimplementedServiceServer) WaitForInvoiceFinalStatus(context.Context, *WaitForInvoiceFinalStatusRequest) (*WaitForInvoiceFinalStatusResponse, error)
type UnsafeServiceServer ¶
type UnsafeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.
type WaitForInvoiceFinalStatusRequest ¶
type WaitForInvoiceFinalStatusRequest struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*WaitForInvoiceFinalStatusRequest) Descriptor
deprecated
func (*WaitForInvoiceFinalStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use WaitForInvoiceFinalStatusRequest.ProtoReflect.Descriptor instead.
func (*WaitForInvoiceFinalStatusRequest) GetHash ¶
func (x *WaitForInvoiceFinalStatusRequest) GetHash() []byte
func (*WaitForInvoiceFinalStatusRequest) ProtoMessage ¶
func (*WaitForInvoiceFinalStatusRequest) ProtoMessage()
func (*WaitForInvoiceFinalStatusRequest) ProtoReflect ¶
func (x *WaitForInvoiceFinalStatusRequest) ProtoReflect() protoreflect.Message
func (*WaitForInvoiceFinalStatusRequest) Reset ¶
func (x *WaitForInvoiceFinalStatusRequest) Reset()
func (*WaitForInvoiceFinalStatusRequest) String ¶
func (x *WaitForInvoiceFinalStatusRequest) String() string
func (*WaitForInvoiceFinalStatusRequest) Validate ¶
func (m *WaitForInvoiceFinalStatusRequest) Validate() error
Validate checks the field values on WaitForInvoiceFinalStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type WaitForInvoiceFinalStatusRequestValidationError ¶
type WaitForInvoiceFinalStatusRequestValidationError struct {
// contains filtered or unexported fields
}
WaitForInvoiceFinalStatusRequestValidationError is the validation error returned by WaitForInvoiceFinalStatusRequest.Validate if the designated constraints aren't met.
func (WaitForInvoiceFinalStatusRequestValidationError) Cause ¶
func (e WaitForInvoiceFinalStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (WaitForInvoiceFinalStatusRequestValidationError) Error ¶
func (e WaitForInvoiceFinalStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WaitForInvoiceFinalStatusRequestValidationError) ErrorName ¶
func (e WaitForInvoiceFinalStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WaitForInvoiceFinalStatusRequestValidationError) Field ¶
func (e WaitForInvoiceFinalStatusRequestValidationError) Field() string
Field function returns field value.
func (WaitForInvoiceFinalStatusRequestValidationError) Key ¶
func (e WaitForInvoiceFinalStatusRequestValidationError) Key() bool
Key function returns key value.
func (WaitForInvoiceFinalStatusRequestValidationError) Reason ¶
func (e WaitForInvoiceFinalStatusRequestValidationError) Reason() string
Reason function returns reason value.
type WaitForInvoiceFinalStatusResponse ¶
type WaitForInvoiceFinalStatusResponse struct { InvoiceStatus InvoiceStatus `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*WaitForInvoiceFinalStatusResponse) Descriptor
deprecated
func (*WaitForInvoiceFinalStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use WaitForInvoiceFinalStatusResponse.ProtoReflect.Descriptor instead.
func (*WaitForInvoiceFinalStatusResponse) GetInvoiceStatus ¶
func (x *WaitForInvoiceFinalStatusResponse) GetInvoiceStatus() InvoiceStatus
func (*WaitForInvoiceFinalStatusResponse) ProtoMessage ¶
func (*WaitForInvoiceFinalStatusResponse) ProtoMessage()
func (*WaitForInvoiceFinalStatusResponse) ProtoReflect ¶
func (x *WaitForInvoiceFinalStatusResponse) ProtoReflect() protoreflect.Message
func (*WaitForInvoiceFinalStatusResponse) Reset ¶
func (x *WaitForInvoiceFinalStatusResponse) Reset()
func (*WaitForInvoiceFinalStatusResponse) String ¶
func (x *WaitForInvoiceFinalStatusResponse) String() string
func (*WaitForInvoiceFinalStatusResponse) Validate ¶
func (m *WaitForInvoiceFinalStatusResponse) Validate() error
Validate checks the field values on WaitForInvoiceFinalStatusResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type WaitForInvoiceFinalStatusResponseValidationError ¶
type WaitForInvoiceFinalStatusResponseValidationError struct {
// contains filtered or unexported fields
}
WaitForInvoiceFinalStatusResponseValidationError is the validation error returned by WaitForInvoiceFinalStatusResponse.Validate if the designated constraints aren't met.
func (WaitForInvoiceFinalStatusResponseValidationError) Cause ¶
func (e WaitForInvoiceFinalStatusResponseValidationError) Cause() error
Cause function returns cause value.
func (WaitForInvoiceFinalStatusResponseValidationError) Error ¶
func (e WaitForInvoiceFinalStatusResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WaitForInvoiceFinalStatusResponseValidationError) ErrorName ¶
func (e WaitForInvoiceFinalStatusResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WaitForInvoiceFinalStatusResponseValidationError) Field ¶
func (e WaitForInvoiceFinalStatusResponseValidationError) Field() string
Field function returns field value.
func (WaitForInvoiceFinalStatusResponseValidationError) Key ¶
func (e WaitForInvoiceFinalStatusResponseValidationError) Key() bool
Key function returns key value.
func (WaitForInvoiceFinalStatusResponseValidationError) Reason ¶
func (e WaitForInvoiceFinalStatusResponseValidationError) Reason() string
Reason function returns reason value.