Documentation ¶
Overview ¶
Package gen is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterLightningHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterLightningHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LightningClient) error
- func RegisterLightningHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterLightningHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LightningServer) error
- func RegisterLightningServer(s grpc.ServiceRegistrar, srv LightningServer)
- type CheckInvoiceRequest
- func (*CheckInvoiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckInvoiceRequest) GetInvoice() string
- func (*CheckInvoiceRequest) ProtoMessage()
- func (x *CheckInvoiceRequest) ProtoReflect() protoreflect.Message
- func (x *CheckInvoiceRequest) Reset()
- func (x *CheckInvoiceRequest) String() string
- type CheckInvoiceResponse
- func (*CheckInvoiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckInvoiceResponse) GetPaid() bool
- func (*CheckInvoiceResponse) ProtoMessage()
- func (x *CheckInvoiceResponse) ProtoReflect() protoreflect.Message
- func (x *CheckInvoiceResponse) Reset()
- func (x *CheckInvoiceResponse) String() string
- type GenerateInvoiceRequest
- func (*GenerateInvoiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateInvoiceRequest) GetAmount() int64
- func (x *GenerateInvoiceRequest) GetMemo() string
- func (*GenerateInvoiceRequest) ProtoMessage()
- func (x *GenerateInvoiceRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateInvoiceRequest) Reset()
- func (x *GenerateInvoiceRequest) String() string
- type GenerateInvoiceResponse
- func (*GenerateInvoiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateInvoiceResponse) GetInvoice() string
- func (*GenerateInvoiceResponse) ProtoMessage()
- func (x *GenerateInvoiceResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateInvoiceResponse) Reset()
- func (x *GenerateInvoiceResponse) String() string
- type GetChannelsRequest
- type GetChannelsResponse
- func (*GetChannelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelsResponse) GetAmt() int64
- func (*GetChannelsResponse) ProtoMessage()
- func (x *GetChannelsResponse) ProtoReflect() protoreflect.Message
- func (x *GetChannelsResponse) Reset()
- func (x *GetChannelsResponse) String() string
- type LightningClient
- type LightningServer
- type ListInvoicesRequest
- type ListInvoicesResponse
- func (*ListInvoicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInvoicesResponse) GetInvoices() string
- func (*ListInvoicesResponse) ProtoMessage()
- func (x *ListInvoicesResponse) ProtoReflect() protoreflect.Message
- func (x *ListInvoicesResponse) Reset()
- func (x *ListInvoicesResponse) String() string
- type ListPaymentsRequest
- type ListPaymentsResponse
- func (*ListPaymentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPaymentsResponse) GetPayments() string
- func (*ListPaymentsResponse) ProtoMessage()
- func (x *ListPaymentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPaymentsResponse) Reset()
- func (x *ListPaymentsResponse) String() string
- type PayInvoiceRequest
- type PayInvoiceResponse
- func (*PayInvoiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PayInvoiceResponse) GetPreimage() string
- func (*PayInvoiceResponse) ProtoMessage()
- func (x *PayInvoiceResponse) ProtoReflect() protoreflect.Message
- func (x *PayInvoiceResponse) Reset()
- func (x *PayInvoiceResponse) String() string
- type UnimplementedLightningServer
- func (UnimplementedLightningServer) CheckInvoice(context.Context, *CheckInvoiceRequest) (*CheckInvoiceResponse, error)
- func (UnimplementedLightningServer) GenerateInvoice(context.Context, *GenerateInvoiceRequest) (*GenerateInvoiceResponse, error)
- func (UnimplementedLightningServer) GetChannels(context.Context, *GetChannelsRequest) (*GetChannelsResponse, error)
- func (UnimplementedLightningServer) ListInvoices(context.Context, *ListInvoicesRequest) (*ListInvoicesResponse, error)
- func (UnimplementedLightningServer) ListPayments(context.Context, *ListPaymentsRequest) (*ListPaymentsResponse, error)
- func (UnimplementedLightningServer) PayInvoice(context.Context, *PayInvoiceRequest) (*PayInvoiceResponse, error)
- type UnsafeLightningServer
Constants ¶
This section is empty.
Variables ¶
var File_proto_imp_api_lightning_lightning_proto protoreflect.FileDescriptor
var Lightning_ServiceDesc = grpc.ServiceDesc{ ServiceName: "lightning.Lightning", HandlerType: (*LightningServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetChannels", Handler: _Lightning_GetChannels_Handler, }, { MethodName: "ListPayments", Handler: _Lightning_ListPayments_Handler, }, { MethodName: "ListInvoices", Handler: _Lightning_ListInvoices_Handler, }, { MethodName: "GenerateInvoice", Handler: _Lightning_GenerateInvoice_Handler, }, { MethodName: "PayInvoice", Handler: _Lightning_PayInvoice_Handler, }, { MethodName: "CheckInvoice", Handler: _Lightning_CheckInvoice_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/imp/api/lightning/lightning.proto", }
Lightning_ServiceDesc is the grpc.ServiceDesc for Lightning service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLightningHandler ¶
func RegisterLightningHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterLightningHandler registers the http handlers for service Lightning to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterLightningHandlerClient ¶
func RegisterLightningHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LightningClient) error
RegisterLightningHandlerClient registers the http handlers for service Lightning to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LightningClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LightningClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LightningClient" to call the correct interceptors.
func RegisterLightningHandlerFromEndpoint ¶
func RegisterLightningHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterLightningHandlerFromEndpoint is same as RegisterLightningHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterLightningHandlerServer ¶
func RegisterLightningHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LightningServer) error
RegisterLightningHandlerServer registers the http handlers for service Lightning to "mux". UnaryRPC :call LightningServer 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 RegisterLightningHandlerFromEndpoint instead.
func RegisterLightningServer ¶
func RegisterLightningServer(s grpc.ServiceRegistrar, srv LightningServer)
Types ¶
type CheckInvoiceRequest ¶
type CheckInvoiceRequest struct { Invoice string `protobuf:"bytes,1,opt,name=invoice,proto3" json:"invoice,omitempty"` // The invoice to check // contains filtered or unexported fields }
* Represents an request to check an invoice.
func (*CheckInvoiceRequest) Descriptor
deprecated
func (*CheckInvoiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckInvoiceRequest.ProtoReflect.Descriptor instead.
func (*CheckInvoiceRequest) GetInvoice ¶
func (x *CheckInvoiceRequest) GetInvoice() string
func (*CheckInvoiceRequest) ProtoMessage ¶
func (*CheckInvoiceRequest) ProtoMessage()
func (*CheckInvoiceRequest) ProtoReflect ¶
func (x *CheckInvoiceRequest) ProtoReflect() protoreflect.Message
func (*CheckInvoiceRequest) Reset ¶
func (x *CheckInvoiceRequest) Reset()
func (*CheckInvoiceRequest) String ¶
func (x *CheckInvoiceRequest) String() string
type CheckInvoiceResponse ¶
type CheckInvoiceResponse struct { Paid bool `protobuf:"varint,1,opt,name=paid,proto3" json:"paid,omitempty"` // The boolean result representing whether or not the invoice was paid // contains filtered or unexported fields }
* Represents a response back from the invoice check.
func (*CheckInvoiceResponse) Descriptor
deprecated
func (*CheckInvoiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckInvoiceResponse.ProtoReflect.Descriptor instead.
func (*CheckInvoiceResponse) GetPaid ¶
func (x *CheckInvoiceResponse) GetPaid() bool
func (*CheckInvoiceResponse) ProtoMessage ¶
func (*CheckInvoiceResponse) ProtoMessage()
func (*CheckInvoiceResponse) ProtoReflect ¶
func (x *CheckInvoiceResponse) ProtoReflect() protoreflect.Message
func (*CheckInvoiceResponse) Reset ¶
func (x *CheckInvoiceResponse) Reset()
func (*CheckInvoiceResponse) String ¶
func (x *CheckInvoiceResponse) String() string
type GenerateInvoiceRequest ¶
type GenerateInvoiceRequest struct { Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` // The amount of satoshis you want to receive Memo string `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"` // The human readable memo you want the sender to see // contains filtered or unexported fields }
* Represents an invoice creation request from your lightning node.
func (*GenerateInvoiceRequest) Descriptor
deprecated
func (*GenerateInvoiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateInvoiceRequest.ProtoReflect.Descriptor instead.
func (*GenerateInvoiceRequest) GetAmount ¶
func (x *GenerateInvoiceRequest) GetAmount() int64
func (*GenerateInvoiceRequest) GetMemo ¶
func (x *GenerateInvoiceRequest) GetMemo() string
func (*GenerateInvoiceRequest) ProtoMessage ¶
func (*GenerateInvoiceRequest) ProtoMessage()
func (*GenerateInvoiceRequest) ProtoReflect ¶
func (x *GenerateInvoiceRequest) ProtoReflect() protoreflect.Message
func (*GenerateInvoiceRequest) Reset ¶
func (x *GenerateInvoiceRequest) Reset()
func (*GenerateInvoiceRequest) String ¶
func (x *GenerateInvoiceRequest) String() string
type GenerateInvoiceResponse ¶
type GenerateInvoiceResponse struct { Invoice string `protobuf:"bytes,1,opt,name=invoice,proto3" json:"invoice,omitempty"` // The invoice from your lightning node // contains filtered or unexported fields }
* Represents a response back from an invoice generation request.
func (*GenerateInvoiceResponse) Descriptor
deprecated
func (*GenerateInvoiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateInvoiceResponse.ProtoReflect.Descriptor instead.
func (*GenerateInvoiceResponse) GetInvoice ¶
func (x *GenerateInvoiceResponse) GetInvoice() string
func (*GenerateInvoiceResponse) ProtoMessage ¶
func (*GenerateInvoiceResponse) ProtoMessage()
func (*GenerateInvoiceResponse) ProtoReflect ¶
func (x *GenerateInvoiceResponse) ProtoReflect() protoreflect.Message
func (*GenerateInvoiceResponse) Reset ¶
func (x *GenerateInvoiceResponse) Reset()
func (*GenerateInvoiceResponse) String ¶
func (x *GenerateInvoiceResponse) String() string
type GetChannelsRequest ¶ added in v1.1.0
type GetChannelsRequest struct {
// contains filtered or unexported fields
}
* Represents a GetChannels request toward your lightning node.
func (*GetChannelsRequest) Descriptor
deprecated
added in
v1.1.0
func (*GetChannelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelsRequest.ProtoReflect.Descriptor instead.
func (*GetChannelsRequest) ProtoMessage ¶ added in v1.1.0
func (*GetChannelsRequest) ProtoMessage()
func (*GetChannelsRequest) ProtoReflect ¶ added in v1.1.0
func (x *GetChannelsRequest) ProtoReflect() protoreflect.Message
func (*GetChannelsRequest) Reset ¶ added in v1.1.0
func (x *GetChannelsRequest) Reset()
func (*GetChannelsRequest) String ¶ added in v1.1.0
func (x *GetChannelsRequest) String() string
type GetChannelsResponse ¶ added in v1.1.0
type GetChannelsResponse struct { Amt int64 `protobuf:"varint,1,opt,name=amt,proto3" json:"amt,omitempty"` // The channel amount from your lightning node // contains filtered or unexported fields }
* Represents a response back from an Getchannels generation request.
func (*GetChannelsResponse) Descriptor
deprecated
added in
v1.1.0
func (*GetChannelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelsResponse.ProtoReflect.Descriptor instead.
func (*GetChannelsResponse) GetAmt ¶ added in v1.1.0
func (x *GetChannelsResponse) GetAmt() int64
func (*GetChannelsResponse) ProtoMessage ¶ added in v1.1.0
func (*GetChannelsResponse) ProtoMessage()
func (*GetChannelsResponse) ProtoReflect ¶ added in v1.1.0
func (x *GetChannelsResponse) ProtoReflect() protoreflect.Message
func (*GetChannelsResponse) Reset ¶ added in v1.1.0
func (x *GetChannelsResponse) Reset()
func (*GetChannelsResponse) String ¶ added in v1.1.0
func (x *GetChannelsResponse) String() string
type LightningClient ¶
type LightningClient interface { //* // GetChannels allows you to get local balances of your channels GetChannels(ctx context.Context, in *GetChannelsRequest, opts ...grpc.CallOption) (*GetChannelsResponse, error) //* // ListPayments lists payments from your node ListPayments(ctx context.Context, in *ListPaymentsRequest, opts ...grpc.CallOption) (*ListPaymentsResponse, error) //* // ListInvoices lists invoices from your node ListInvoices(ctx context.Context, in *ListInvoicesRequest, opts ...grpc.CallOption) (*ListInvoicesResponse, error) //* // GenerateInvoice allows you to generate an invoice for a specific payment amount from your lightning node. GenerateInvoice(ctx context.Context, in *GenerateInvoiceRequest, opts ...grpc.CallOption) (*GenerateInvoiceResponse, error) //* // PayInvoice allows you to pay a specific invoice with your lightning node. PayInvoice(ctx context.Context, in *PayInvoiceRequest, opts ...grpc.CallOption) (*PayInvoiceResponse, error) //* // CheckInvoice allows you to check a specific invoice to see if it was paid. CheckInvoice(ctx context.Context, in *CheckInvoiceRequest, opts ...grpc.CallOption) (*CheckInvoiceResponse, error) }
LightningClient is the client API for Lightning 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 NewLightningClient ¶
func NewLightningClient(cc grpc.ClientConnInterface) LightningClient
type LightningServer ¶
type LightningServer interface { //* // GetChannels allows you to get local balances of your channels GetChannels(context.Context, *GetChannelsRequest) (*GetChannelsResponse, error) //* // ListPayments lists payments from your node ListPayments(context.Context, *ListPaymentsRequest) (*ListPaymentsResponse, error) //* // ListInvoices lists invoices from your node ListInvoices(context.Context, *ListInvoicesRequest) (*ListInvoicesResponse, error) //* // GenerateInvoice allows you to generate an invoice for a specific payment amount from your lightning node. GenerateInvoice(context.Context, *GenerateInvoiceRequest) (*GenerateInvoiceResponse, error) //* // PayInvoice allows you to pay a specific invoice with your lightning node. PayInvoice(context.Context, *PayInvoiceRequest) (*PayInvoiceResponse, error) //* // CheckInvoice allows you to check a specific invoice to see if it was paid. CheckInvoice(context.Context, *CheckInvoiceRequest) (*CheckInvoiceResponse, error) // contains filtered or unexported methods }
LightningServer is the server API for Lightning service. All implementations must embed UnimplementedLightningServer for forward compatibility
type ListInvoicesRequest ¶ added in v1.1.0
type ListInvoicesRequest struct {
// contains filtered or unexported fields
}
* Represents a ListInvoices request toward your lightning node.
func (*ListInvoicesRequest) Descriptor
deprecated
added in
v1.1.0
func (*ListInvoicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInvoicesRequest.ProtoReflect.Descriptor instead.
func (*ListInvoicesRequest) ProtoMessage ¶ added in v1.1.0
func (*ListInvoicesRequest) ProtoMessage()
func (*ListInvoicesRequest) ProtoReflect ¶ added in v1.1.0
func (x *ListInvoicesRequest) ProtoReflect() protoreflect.Message
func (*ListInvoicesRequest) Reset ¶ added in v1.1.0
func (x *ListInvoicesRequest) Reset()
func (*ListInvoicesRequest) String ¶ added in v1.1.0
func (x *ListInvoicesRequest) String() string
type ListInvoicesResponse ¶ added in v1.1.0
type ListInvoicesResponse struct { Invoices string `protobuf:"bytes,1,opt,name=invoices,proto3" json:"invoices,omitempty"` // The list of invoices // contains filtered or unexported fields }
* Represents a response back from an ListInvoices generation request.
func (*ListInvoicesResponse) Descriptor
deprecated
added in
v1.1.0
func (*ListInvoicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInvoicesResponse.ProtoReflect.Descriptor instead.
func (*ListInvoicesResponse) GetInvoices ¶ added in v1.1.0
func (x *ListInvoicesResponse) GetInvoices() string
func (*ListInvoicesResponse) ProtoMessage ¶ added in v1.1.0
func (*ListInvoicesResponse) ProtoMessage()
func (*ListInvoicesResponse) ProtoReflect ¶ added in v1.1.0
func (x *ListInvoicesResponse) ProtoReflect() protoreflect.Message
func (*ListInvoicesResponse) Reset ¶ added in v1.1.0
func (x *ListInvoicesResponse) Reset()
func (*ListInvoicesResponse) String ¶ added in v1.1.0
func (x *ListInvoicesResponse) String() string
type ListPaymentsRequest ¶ added in v1.1.0
type ListPaymentsRequest struct {
// contains filtered or unexported fields
}
* Represents a ListPayments request toward your lightning node.
func (*ListPaymentsRequest) Descriptor
deprecated
added in
v1.1.0
func (*ListPaymentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPaymentsRequest.ProtoReflect.Descriptor instead.
func (*ListPaymentsRequest) ProtoMessage ¶ added in v1.1.0
func (*ListPaymentsRequest) ProtoMessage()
func (*ListPaymentsRequest) ProtoReflect ¶ added in v1.1.0
func (x *ListPaymentsRequest) ProtoReflect() protoreflect.Message
func (*ListPaymentsRequest) Reset ¶ added in v1.1.0
func (x *ListPaymentsRequest) Reset()
func (*ListPaymentsRequest) String ¶ added in v1.1.0
func (x *ListPaymentsRequest) String() string
type ListPaymentsResponse ¶ added in v1.1.0
type ListPaymentsResponse struct { Payments string `protobuf:"bytes,1,opt,name=payments,proto3" json:"payments,omitempty"` // The list of payments // contains filtered or unexported fields }
* Represents a response back from an ListPayments generation request.
func (*ListPaymentsResponse) Descriptor
deprecated
added in
v1.1.0
func (*ListPaymentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPaymentsResponse.ProtoReflect.Descriptor instead.
func (*ListPaymentsResponse) GetPayments ¶ added in v1.1.0
func (x *ListPaymentsResponse) GetPayments() string
func (*ListPaymentsResponse) ProtoMessage ¶ added in v1.1.0
func (*ListPaymentsResponse) ProtoMessage()
func (*ListPaymentsResponse) ProtoReflect ¶ added in v1.1.0
func (x *ListPaymentsResponse) ProtoReflect() protoreflect.Message
func (*ListPaymentsResponse) Reset ¶ added in v1.1.0
func (x *ListPaymentsResponse) Reset()
func (*ListPaymentsResponse) String ¶ added in v1.1.0
func (x *ListPaymentsResponse) String() string
type PayInvoiceRequest ¶
type PayInvoiceRequest struct { Invoice string `protobuf:"bytes,1,opt,name=invoice,proto3" json:"invoice,omitempty"` // The invoice to pay // contains filtered or unexported fields }
* Represents an invoice that will be paid by your lightning node.
func (*PayInvoiceRequest) Descriptor
deprecated
func (*PayInvoiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use PayInvoiceRequest.ProtoReflect.Descriptor instead.
func (*PayInvoiceRequest) GetInvoice ¶
func (x *PayInvoiceRequest) GetInvoice() string
func (*PayInvoiceRequest) ProtoMessage ¶
func (*PayInvoiceRequest) ProtoMessage()
func (*PayInvoiceRequest) ProtoReflect ¶
func (x *PayInvoiceRequest) ProtoReflect() protoreflect.Message
func (*PayInvoiceRequest) Reset ¶
func (x *PayInvoiceRequest) Reset()
func (*PayInvoiceRequest) String ¶
func (x *PayInvoiceRequest) String() string
type PayInvoiceResponse ¶
type PayInvoiceResponse struct { Preimage string `protobuf:"bytes,1,opt,name=preimage,proto3" json:"preimage,omitempty"` // The preimage from the payment result, if successful // contains filtered or unexported fields }
* Represents a response back from the payment result.
func (*PayInvoiceResponse) Descriptor
deprecated
func (*PayInvoiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use PayInvoiceResponse.ProtoReflect.Descriptor instead.
func (*PayInvoiceResponse) GetPreimage ¶
func (x *PayInvoiceResponse) GetPreimage() string
func (*PayInvoiceResponse) ProtoMessage ¶
func (*PayInvoiceResponse) ProtoMessage()
func (*PayInvoiceResponse) ProtoReflect ¶
func (x *PayInvoiceResponse) ProtoReflect() protoreflect.Message
func (*PayInvoiceResponse) Reset ¶
func (x *PayInvoiceResponse) Reset()
func (*PayInvoiceResponse) String ¶
func (x *PayInvoiceResponse) String() string
type UnimplementedLightningServer ¶
type UnimplementedLightningServer struct { }
UnimplementedLightningServer must be embedded to have forward compatible implementations.
func (UnimplementedLightningServer) CheckInvoice ¶
func (UnimplementedLightningServer) CheckInvoice(context.Context, *CheckInvoiceRequest) (*CheckInvoiceResponse, error)
func (UnimplementedLightningServer) GenerateInvoice ¶
func (UnimplementedLightningServer) GenerateInvoice(context.Context, *GenerateInvoiceRequest) (*GenerateInvoiceResponse, error)
func (UnimplementedLightningServer) GetChannels ¶ added in v1.1.0
func (UnimplementedLightningServer) GetChannels(context.Context, *GetChannelsRequest) (*GetChannelsResponse, error)
func (UnimplementedLightningServer) ListInvoices ¶ added in v1.1.0
func (UnimplementedLightningServer) ListInvoices(context.Context, *ListInvoicesRequest) (*ListInvoicesResponse, error)
func (UnimplementedLightningServer) ListPayments ¶ added in v1.1.0
func (UnimplementedLightningServer) ListPayments(context.Context, *ListPaymentsRequest) (*ListPaymentsResponse, error)
func (UnimplementedLightningServer) PayInvoice ¶
func (UnimplementedLightningServer) PayInvoice(context.Context, *PayInvoiceRequest) (*PayInvoiceResponse, error)
type UnsafeLightningServer ¶ added in v1.0.5
type UnsafeLightningServer interface {
// contains filtered or unexported methods
}
UnsafeLightningServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LightningServer will result in compilation errors.