bitcoinv1

package
v0.11.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2025 License: Unlicense Imports: 21 Imported by: 0

Documentation

Overview

Package bitcoinv1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	BitcoinPaymentService_Ping_FullMethodName           = "/bitcoin.v1.BitcoinPaymentService/Ping"
	BitcoinPaymentService_ListInvoices_FullMethodName   = "/bitcoin.v1.BitcoinPaymentService/ListInvoices"
	BitcoinPaymentService_GetInvoice_FullMethodName     = "/bitcoin.v1.BitcoinPaymentService/GetInvoice"
	BitcoinPaymentService_RefreshInvoice_FullMethodName = "/bitcoin.v1.BitcoinPaymentService/RefreshInvoice"
	BitcoinPaymentService_CreateInvoice_FullMethodName  = "/bitcoin.v1.BitcoinPaymentService/CreateInvoice"
	BitcoinPaymentService_Export_FullMethodName         = "/bitcoin.v1.BitcoinPaymentService/Export"
)

Variables

View Source
var (
	Filter_name = map[int32]string{
		0: "FILTER_UNSPECIFIED",
		1: "FILTER_ONGOING",
		2: "FILTER_EXPIRED",
		3: "FILTER_UNPAID",
		4: "FILTER_PAID",
		5: "FILTER_PENDING",
		6: "FILTER_FINALIZED",
	}
	Filter_value = map[string]int32{
		"FILTER_UNSPECIFIED": 0,
		"FILTER_ONGOING":     1,
		"FILTER_EXPIRED":     2,
		"FILTER_UNPAID":      3,
		"FILTER_PAID":        4,
		"FILTER_PENDING":     5,
		"FILTER_FINALIZED":   6,
	}
)

Enum value maps for Filter.

View Source
var BitcoinPaymentService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "bitcoin.v1.BitcoinPaymentService",
	HandlerType: (*BitcoinPaymentServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Ping",
			Handler:    _BitcoinPaymentService_Ping_Handler,
		},
		{
			MethodName: "ListInvoices",
			Handler:    _BitcoinPaymentService_ListInvoices_Handler,
		},
		{
			MethodName: "GetInvoice",
			Handler:    _BitcoinPaymentService_GetInvoice_Handler,
		},
		{
			MethodName: "RefreshInvoice",
			Handler:    _BitcoinPaymentService_RefreshInvoice_Handler,
		},
		{
			MethodName: "CreateInvoice",
			Handler:    _BitcoinPaymentService_CreateInvoice_Handler,
		},
		{
			MethodName: "Export",
			Handler:    _BitcoinPaymentService_Export_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "bitcoin/v1/payment.proto",
}

BitcoinPaymentService_ServiceDesc is the grpc.ServiceDesc for BitcoinPaymentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_bitcoin_v1_payment_proto protoreflect.FileDescriptor

Functions

func RegisterBitcoinPaymentServiceHandler

func RegisterBitcoinPaymentServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterBitcoinPaymentServiceHandler registers the http handlers for service BitcoinPaymentService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterBitcoinPaymentServiceHandlerClient

func RegisterBitcoinPaymentServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BitcoinPaymentServiceClient) error

RegisterBitcoinPaymentServiceHandlerClient registers the http handlers for service BitcoinPaymentService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BitcoinPaymentServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BitcoinPaymentServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BitcoinPaymentServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterBitcoinPaymentServiceHandlerFromEndpoint

func RegisterBitcoinPaymentServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterBitcoinPaymentServiceHandlerFromEndpoint is same as RegisterBitcoinPaymentServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterBitcoinPaymentServiceHandlerServer

func RegisterBitcoinPaymentServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BitcoinPaymentServiceServer) error

RegisterBitcoinPaymentServiceHandlerServer registers the http handlers for service BitcoinPaymentService to "mux". UnaryRPC :call BitcoinPaymentServiceServer 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 RegisterBitcoinPaymentServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterBitcoinPaymentServiceServer

func RegisterBitcoinPaymentServiceServer(s grpc.ServiceRegistrar, srv BitcoinPaymentServiceServer)

Types

type BitcoinPaymentServiceClient

type BitcoinPaymentServiceClient interface {
	Ping(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// List all invoices
	ListInvoices(ctx context.Context, in *ListInvoicesRequest, opts ...grpc.CallOption) (*ListInvoicesResponse, error)
	// Get invoice information by address
	GetInvoice(ctx context.Context, in *GetInvoiceRequest, opts ...grpc.CallOption) (*GetInvoiceResponse, error)
	// Get invoice information by address
	RefreshInvoice(ctx context.Context, in *RefreshInvoiceRequest, opts ...grpc.CallOption) (*RefreshInvoiceResponse, error)
	// Create a new invoice
	CreateInvoice(ctx context.Context, in *CreateInvoiceRequest, opts ...grpc.CallOption) (*CreateInvoiceResponse, error)
	// Export the private keys of the invoices
	Export(ctx context.Context, in *ExportRequest, opts ...grpc.CallOption) (*ExportResponse, error)
}

BitcoinPaymentServiceClient is the client API for BitcoinPaymentService 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.

type BitcoinPaymentServiceServer

type BitcoinPaymentServiceServer interface {
	Ping(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	// List all invoices
	ListInvoices(context.Context, *ListInvoicesRequest) (*ListInvoicesResponse, error)
	// Get invoice information by address
	GetInvoice(context.Context, *GetInvoiceRequest) (*GetInvoiceResponse, error)
	// Get invoice information by address
	RefreshInvoice(context.Context, *RefreshInvoiceRequest) (*RefreshInvoiceResponse, error)
	// Create a new invoice
	CreateInvoice(context.Context, *CreateInvoiceRequest) (*CreateInvoiceResponse, error)
	// Export the private keys of the invoices
	Export(context.Context, *ExportRequest) (*ExportResponse, error)
	// contains filtered or unexported methods
}

BitcoinPaymentServiceServer is the server API for BitcoinPaymentService service. All implementations must embed UnimplementedBitcoinPaymentServiceServer for forward compatibility.

type CreateInvoiceRequest added in v0.11.0

type CreateInvoiceRequest struct {
	Memo   string  `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateInvoiceRequest) Descriptor deprecated added in v0.11.0

func (*CreateInvoiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateInvoiceRequest.ProtoReflect.Descriptor instead.

func (*CreateInvoiceRequest) GetAmount added in v0.11.0

func (x *CreateInvoiceRequest) GetAmount() float64

func (*CreateInvoiceRequest) GetMemo added in v0.11.6

func (x *CreateInvoiceRequest) GetMemo() string

func (*CreateInvoiceRequest) MarshalJSON added in v0.11.0

func (msg *CreateInvoiceRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*CreateInvoiceRequest) ProtoMessage added in v0.11.0

func (*CreateInvoiceRequest) ProtoMessage()

func (*CreateInvoiceRequest) ProtoReflect added in v0.11.0

func (x *CreateInvoiceRequest) ProtoReflect() protoreflect.Message

func (*CreateInvoiceRequest) Reset added in v0.11.0

func (x *CreateInvoiceRequest) Reset()

func (*CreateInvoiceRequest) String added in v0.11.0

func (x *CreateInvoiceRequest) String() string

func (*CreateInvoiceRequest) UnmarshalJSON added in v0.11.0

func (msg *CreateInvoiceRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

type CreateInvoiceResponse added in v0.11.0

type CreateInvoiceResponse struct {
	Invoice *v1.Invoice `protobuf:"bytes,1,opt,name=invoice,proto3" json:"invoice,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateInvoiceResponse) Descriptor deprecated added in v0.11.0

func (*CreateInvoiceResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateInvoiceResponse.ProtoReflect.Descriptor instead.

func (*CreateInvoiceResponse) GetInvoice added in v0.11.0

func (x *CreateInvoiceResponse) GetInvoice() *v1.Invoice

func (*CreateInvoiceResponse) MarshalJSON added in v0.11.0

func (msg *CreateInvoiceResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*CreateInvoiceResponse) ProtoMessage added in v0.11.0

func (*CreateInvoiceResponse) ProtoMessage()

func (*CreateInvoiceResponse) ProtoReflect added in v0.11.0

func (x *CreateInvoiceResponse) ProtoReflect() protoreflect.Message

func (*CreateInvoiceResponse) Reset added in v0.11.0

func (x *CreateInvoiceResponse) Reset()

func (*CreateInvoiceResponse) String added in v0.11.0

func (x *CreateInvoiceResponse) String() string

func (*CreateInvoiceResponse) UnmarshalJSON added in v0.11.0

func (msg *CreateInvoiceResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

type ExportRequest added in v0.11.0

type ExportRequest struct {
	// contains filtered or unexported fields
}

func (*ExportRequest) Descriptor deprecated added in v0.11.0

func (*ExportRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExportRequest.ProtoReflect.Descriptor instead.

func (*ExportRequest) MarshalJSON added in v0.11.0

func (msg *ExportRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ExportRequest) ProtoMessage added in v0.11.0

func (*ExportRequest) ProtoMessage()

func (*ExportRequest) ProtoReflect added in v0.11.0

func (x *ExportRequest) ProtoReflect() protoreflect.Message

func (*ExportRequest) Reset added in v0.11.0

func (x *ExportRequest) Reset()

func (*ExportRequest) String added in v0.11.0

func (x *ExportRequest) String() string

func (*ExportRequest) UnmarshalJSON added in v0.11.0

func (msg *ExportRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

type ExportResponse added in v0.11.0

type ExportResponse struct {
	WifKeys []string `protobuf:"bytes,1,rep,name=wif_keys,json=wifKeys,proto3" json:"wif_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportResponse) Descriptor deprecated added in v0.11.0

func (*ExportResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExportResponse.ProtoReflect.Descriptor instead.

func (*ExportResponse) GetWifKeys added in v0.11.0

func (x *ExportResponse) GetWifKeys() []string

func (*ExportResponse) MarshalJSON added in v0.11.0

func (msg *ExportResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ExportResponse) ProtoMessage added in v0.11.0

func (*ExportResponse) ProtoMessage()

func (*ExportResponse) ProtoReflect added in v0.11.0

func (x *ExportResponse) ProtoReflect() protoreflect.Message

func (*ExportResponse) Reset added in v0.11.0

func (x *ExportResponse) Reset()

func (*ExportResponse) String added in v0.11.0

func (x *ExportResponse) String() string

func (*ExportResponse) UnmarshalJSON added in v0.11.0

func (msg *ExportResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

type Filter added in v0.11.7

type Filter int32
const (
	// Default filter
	Filter_FILTER_UNSPECIFIED Filter = 0
	// Invoice has not reached it's expiration date
	Filter_FILTER_ONGOING Filter = 1
	// Invoice has reached it's expiration date
	Filter_FILTER_EXPIRED Filter = 2
	// Invoice is unpaid or partially paid
	Filter_FILTER_UNPAID Filter = 3
	// Invoice is fully paid
	Filter_FILTER_PAID Filter = 4
	// Invoice has not been finalized
	Filter_FILTER_PENDING Filter = 5
	// Invoice is finalized
	Filter_FILTER_FINALIZED Filter = 6
)

func (Filter) Descriptor added in v0.11.7

func (Filter) Descriptor() protoreflect.EnumDescriptor

func (Filter) Enum added in v0.11.7

func (x Filter) Enum() *Filter

func (Filter) EnumDescriptor deprecated added in v0.11.7

func (Filter) EnumDescriptor() ([]byte, []int)

Deprecated: Use Filter.Descriptor instead.

func (Filter) Number added in v0.11.7

func (x Filter) Number() protoreflect.EnumNumber

func (Filter) String added in v0.11.7

func (x Filter) String() string

func (Filter) Type added in v0.11.7

func (Filter) Type() protoreflect.EnumType

type GetInvoiceRequest added in v0.11.0

type GetInvoiceRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInvoiceRequest) Descriptor deprecated added in v0.11.0

func (*GetInvoiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetInvoiceRequest.ProtoReflect.Descriptor instead.

func (*GetInvoiceRequest) GetAddress added in v0.11.0

func (x *GetInvoiceRequest) GetAddress() string

func (*GetInvoiceRequest) MarshalJSON added in v0.11.0

func (msg *GetInvoiceRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetInvoiceRequest) ProtoMessage added in v0.11.0

func (*GetInvoiceRequest) ProtoMessage()

func (*GetInvoiceRequest) ProtoReflect added in v0.11.0

func (x *GetInvoiceRequest) ProtoReflect() protoreflect.Message

func (*GetInvoiceRequest) Reset added in v0.11.0

func (x *GetInvoiceRequest) Reset()

func (*GetInvoiceRequest) String added in v0.11.0

func (x *GetInvoiceRequest) String() string

func (*GetInvoiceRequest) UnmarshalJSON added in v0.11.0

func (msg *GetInvoiceRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

type GetInvoiceResponse added in v0.11.0

type GetInvoiceResponse struct {
	Invoice *v1.Invoice `protobuf:"bytes,1,opt,name=invoice,proto3" json:"invoice,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInvoiceResponse) Descriptor deprecated added in v0.11.0

func (*GetInvoiceResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetInvoiceResponse.ProtoReflect.Descriptor instead.

func (*GetInvoiceResponse) GetInvoice added in v0.11.0

func (x *GetInvoiceResponse) GetInvoice() *v1.Invoice

func (*GetInvoiceResponse) MarshalJSON added in v0.11.0

func (msg *GetInvoiceResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetInvoiceResponse) ProtoMessage added in v0.11.0

func (*GetInvoiceResponse) ProtoMessage()

func (*GetInvoiceResponse) ProtoReflect added in v0.11.0

func (x *GetInvoiceResponse) ProtoReflect() protoreflect.Message

func (*GetInvoiceResponse) Reset added in v0.11.0

func (x *GetInvoiceResponse) Reset()

func (*GetInvoiceResponse) String added in v0.11.0

func (x *GetInvoiceResponse) String() string

func (*GetInvoiceResponse) UnmarshalJSON added in v0.11.0

func (msg *GetInvoiceResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

type ListInvoicesRequest added in v0.11.0

type ListInvoicesRequest struct {
	Filters []Filter `protobuf:"varint,1,rep,packed,name=filters,proto3,enum=bitcoin.v1.Filter" json:"filters,omitempty"`
	Count   *int64   `protobuf:"varint,2,opt,name=count,proto3,oneof" json:"count,omitempty"`
	Offset  *int64   `protobuf:"varint,3,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInvoicesRequest) Descriptor deprecated added in v0.11.0

func (*ListInvoicesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListInvoicesRequest.ProtoReflect.Descriptor instead.

func (*ListInvoicesRequest) GetCount added in v0.11.0

func (x *ListInvoicesRequest) GetCount() int64

func (*ListInvoicesRequest) GetFilters added in v0.11.0

func (x *ListInvoicesRequest) GetFilters() []Filter

func (*ListInvoicesRequest) GetOffset added in v0.11.0

func (x *ListInvoicesRequest) GetOffset() int64

func (*ListInvoicesRequest) MarshalJSON added in v0.11.0

func (msg *ListInvoicesRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListInvoicesRequest) ProtoMessage added in v0.11.0

func (*ListInvoicesRequest) ProtoMessage()

func (*ListInvoicesRequest) ProtoReflect added in v0.11.0

func (x *ListInvoicesRequest) ProtoReflect() protoreflect.Message

func (*ListInvoicesRequest) Reset added in v0.11.0

func (x *ListInvoicesRequest) Reset()

func (*ListInvoicesRequest) String added in v0.11.0

func (x *ListInvoicesRequest) String() string

func (*ListInvoicesRequest) UnmarshalJSON added in v0.11.0

func (msg *ListInvoicesRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

type ListInvoicesResponse added in v0.11.0

type ListInvoicesResponse struct {
	Invoices []*v1.Invoice `protobuf:"bytes,1,rep,name=invoices,proto3" json:"invoices,omitempty"`
	Total    int64         `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInvoicesResponse) Descriptor deprecated added in v0.11.0

func (*ListInvoicesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListInvoicesResponse.ProtoReflect.Descriptor instead.

func (*ListInvoicesResponse) GetInvoices added in v0.11.0

func (x *ListInvoicesResponse) GetInvoices() []*v1.Invoice

func (*ListInvoicesResponse) GetTotal added in v0.11.0

func (x *ListInvoicesResponse) GetTotal() int64

func (*ListInvoicesResponse) MarshalJSON added in v0.11.0

func (msg *ListInvoicesResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListInvoicesResponse) ProtoMessage added in v0.11.0

func (*ListInvoicesResponse) ProtoMessage()

func (*ListInvoicesResponse) ProtoReflect added in v0.11.0

func (x *ListInvoicesResponse) ProtoReflect() protoreflect.Message

func (*ListInvoicesResponse) Reset added in v0.11.0

func (x *ListInvoicesResponse) Reset()

func (*ListInvoicesResponse) String added in v0.11.0

func (x *ListInvoicesResponse) String() string

func (*ListInvoicesResponse) UnmarshalJSON added in v0.11.0

func (msg *ListInvoicesResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

type RefreshInvoiceRequest added in v0.11.0

type RefreshInvoiceRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshInvoiceRequest) Descriptor deprecated added in v0.11.0

func (*RefreshInvoiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use RefreshInvoiceRequest.ProtoReflect.Descriptor instead.

func (*RefreshInvoiceRequest) GetAddress added in v0.11.0

func (x *RefreshInvoiceRequest) GetAddress() string

func (*RefreshInvoiceRequest) MarshalJSON added in v0.11.0

func (msg *RefreshInvoiceRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*RefreshInvoiceRequest) ProtoMessage added in v0.11.0

func (*RefreshInvoiceRequest) ProtoMessage()

func (*RefreshInvoiceRequest) ProtoReflect added in v0.11.0

func (x *RefreshInvoiceRequest) ProtoReflect() protoreflect.Message

func (*RefreshInvoiceRequest) Reset added in v0.11.0

func (x *RefreshInvoiceRequest) Reset()

func (*RefreshInvoiceRequest) String added in v0.11.0

func (x *RefreshInvoiceRequest) String() string

func (*RefreshInvoiceRequest) UnmarshalJSON added in v0.11.0

func (msg *RefreshInvoiceRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

type RefreshInvoiceResponse added in v0.11.0

type RefreshInvoiceResponse struct {
	Invoice *v1.Invoice `protobuf:"bytes,1,opt,name=invoice,proto3" json:"invoice,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshInvoiceResponse) Descriptor deprecated added in v0.11.0

func (*RefreshInvoiceResponse) Descriptor() ([]byte, []int)

Deprecated: Use RefreshInvoiceResponse.ProtoReflect.Descriptor instead.

func (*RefreshInvoiceResponse) GetInvoice added in v0.11.0

func (x *RefreshInvoiceResponse) GetInvoice() *v1.Invoice

func (*RefreshInvoiceResponse) MarshalJSON added in v0.11.0

func (msg *RefreshInvoiceResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*RefreshInvoiceResponse) ProtoMessage added in v0.11.0

func (*RefreshInvoiceResponse) ProtoMessage()

func (*RefreshInvoiceResponse) ProtoReflect added in v0.11.0

func (x *RefreshInvoiceResponse) ProtoReflect() protoreflect.Message

func (*RefreshInvoiceResponse) Reset added in v0.11.0

func (x *RefreshInvoiceResponse) Reset()

func (*RefreshInvoiceResponse) String added in v0.11.0

func (x *RefreshInvoiceResponse) String() string

func (*RefreshInvoiceResponse) UnmarshalJSON added in v0.11.0

func (msg *RefreshInvoiceResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

type UnimplementedBitcoinPaymentServiceServer

type UnimplementedBitcoinPaymentServiceServer struct{}

UnimplementedBitcoinPaymentServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedBitcoinPaymentServiceServer) CreateInvoice added in v0.11.6

func (UnimplementedBitcoinPaymentServiceServer) Export added in v0.11.6

func (UnimplementedBitcoinPaymentServiceServer) GetInvoice added in v0.11.6

func (UnimplementedBitcoinPaymentServiceServer) ListInvoices added in v0.11.6

func (UnimplementedBitcoinPaymentServiceServer) Ping

func (UnimplementedBitcoinPaymentServiceServer) RefreshInvoice added in v0.11.6

type UnsafeBitcoinPaymentServiceServer

type UnsafeBitcoinPaymentServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeBitcoinPaymentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BitcoinPaymentServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL