bitcoinv1

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2026 License: Unlicense Imports: 22 Imported by: 0

Documentation

Overview

Package bitcoinv1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package bitcoinv1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	BitcoinPaymentDashboardService_Ping_FullMethodName          = "/bitcoin.v1.BitcoinPaymentDashboardService/Ping"
	BitcoinPaymentDashboardService_ListInvoices_FullMethodName  = "/bitcoin.v1.BitcoinPaymentDashboardService/ListInvoices"
	BitcoinPaymentDashboardService_CreateInvoice_FullMethodName = "/bitcoin.v1.BitcoinPaymentDashboardService/CreateInvoice"
	BitcoinPaymentDashboardService_Export_FullMethodName        = "/bitcoin.v1.BitcoinPaymentDashboardService/Export"
)
View Source
const (
	BitcoinPaymentService_GetInvoice_FullMethodName     = "/bitcoin.v1.BitcoinPaymentService/GetInvoice"
	BitcoinPaymentService_RefreshInvoice_FullMethodName = "/bitcoin.v1.BitcoinPaymentService/RefreshInvoice"
)

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 BitcoinPaymentDashboardService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "bitcoin.v1.BitcoinPaymentDashboardService",
	HandlerType: (*BitcoinPaymentDashboardServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Ping",
			Handler:    _BitcoinPaymentDashboardService_Ping_Handler,
		},
		{
			MethodName: "ListInvoices",
			Handler:    _BitcoinPaymentDashboardService_ListInvoices_Handler,
		},
		{
			MethodName: "CreateInvoice",
			Handler:    _BitcoinPaymentDashboardService_CreateInvoice_Handler,
		},
		{
			MethodName: "Export",
			Handler:    _BitcoinPaymentDashboardService_Export_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "bitcoin/v1/dashboard.proto",
}

BitcoinPaymentDashboardService_ServiceDesc is the grpc.ServiceDesc for BitcoinPaymentDashboardService 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 BitcoinPaymentService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "bitcoin.v1.BitcoinPaymentService",
	HandlerType: (*BitcoinPaymentServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetInvoice",
			Handler:    _BitcoinPaymentService_GetInvoice_Handler,
		},
		{
			MethodName: "RefreshInvoice",
			Handler:    _BitcoinPaymentService_RefreshInvoice_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_dashboard_proto protoreflect.FileDescriptor
View Source
var File_bitcoin_v1_payment_proto protoreflect.FileDescriptor

Functions

func RegisterBitcoinPaymentDashboardServiceHandler added in v0.18.6

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

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

func RegisterBitcoinPaymentDashboardServiceHandlerClient added in v0.18.6

func RegisterBitcoinPaymentDashboardServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BitcoinPaymentDashboardServiceClient) error

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

func RegisterBitcoinPaymentDashboardServiceHandlerFromEndpoint added in v0.18.6

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

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

func RegisterBitcoinPaymentDashboardServiceHandlerServer added in v0.18.6

func RegisterBitcoinPaymentDashboardServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BitcoinPaymentDashboardServiceServer) error

RegisterBitcoinPaymentDashboardServiceHandlerServer registers the http handlers for service BitcoinPaymentDashboardService to "mux". UnaryRPC :call BitcoinPaymentDashboardServiceServer 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 RegisterBitcoinPaymentDashboardServiceHandlerFromEndpoint 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 RegisterBitcoinPaymentDashboardServiceServer added in v0.18.6

func RegisterBitcoinPaymentDashboardServiceServer(s grpc.ServiceRegistrar, srv BitcoinPaymentDashboardServiceServer)

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 BitcoinPaymentDashboardServiceClient added in v0.18.6

type BitcoinPaymentDashboardServiceClient 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)
	// 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)
}

BitcoinPaymentDashboardServiceClient is the client API for BitcoinPaymentDashboardService 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 NewBitcoinPaymentDashboardServiceClient added in v0.18.6

func NewBitcoinPaymentDashboardServiceClient(cc grpc.ClientConnInterface) BitcoinPaymentDashboardServiceClient

type BitcoinPaymentDashboardServiceServer added in v0.18.6

type BitcoinPaymentDashboardServiceServer interface {
	Ping(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	// List all invoices
	ListInvoices(context.Context, *ListInvoicesRequest) (*ListInvoicesResponse, 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
}

BitcoinPaymentDashboardServiceServer is the server API for BitcoinPaymentDashboardService service. All implementations must embed UnimplementedBitcoinPaymentDashboardServiceServer for forward compatibility.

type BitcoinPaymentServiceClient

type BitcoinPaymentServiceClient interface {
	// 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)
}

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 {
	// Get invoice information by address
	GetInvoice(context.Context, *GetInvoiceRequest) (*GetInvoiceResponse, error)
	// Get invoice information by address
	RefreshInvoice(context.Context, *RefreshInvoiceRequest) (*RefreshInvoiceResponse, error)
	// contains filtered or unexported methods
}

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

type CreateInvoiceRequest

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

func (*CreateInvoiceRequest) Descriptor deprecated

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

Deprecated: Use CreateInvoiceRequest.ProtoReflect.Descriptor instead.

func (*CreateInvoiceRequest) GetAmount

func (x *CreateInvoiceRequest) GetAmount() float64

func (*CreateInvoiceRequest) GetMemo

func (x *CreateInvoiceRequest) GetMemo() string

func (*CreateInvoiceRequest) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*CreateInvoiceRequest) ProtoMessage

func (*CreateInvoiceRequest) ProtoMessage()

func (*CreateInvoiceRequest) ProtoReflect

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

func (*CreateInvoiceRequest) Reset

func (x *CreateInvoiceRequest) Reset()

func (*CreateInvoiceRequest) String

func (x *CreateInvoiceRequest) String() string

func (*CreateInvoiceRequest) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

type CreateInvoiceResponse

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

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

Deprecated: Use CreateInvoiceResponse.ProtoReflect.Descriptor instead.

func (*CreateInvoiceResponse) GetInvoice

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

func (*CreateInvoiceResponse) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*CreateInvoiceResponse) ProtoMessage

func (*CreateInvoiceResponse) ProtoMessage()

func (*CreateInvoiceResponse) ProtoReflect

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

func (*CreateInvoiceResponse) Reset

func (x *CreateInvoiceResponse) Reset()

func (*CreateInvoiceResponse) String

func (x *CreateInvoiceResponse) String() string

func (*CreateInvoiceResponse) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

type ExportRequest

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

func (*ExportRequest) Descriptor deprecated

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

Deprecated: Use ExportRequest.ProtoReflect.Descriptor instead.

func (*ExportRequest) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*ExportRequest) ProtoMessage

func (*ExportRequest) ProtoMessage()

func (*ExportRequest) ProtoReflect

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

func (*ExportRequest) Reset

func (x *ExportRequest) Reset()

func (*ExportRequest) String

func (x *ExportRequest) String() string

func (*ExportRequest) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

type ExportResponse

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

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

Deprecated: Use ExportResponse.ProtoReflect.Descriptor instead.

func (*ExportResponse) GetWifKeys

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

func (*ExportResponse) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*ExportResponse) ProtoMessage

func (*ExportResponse) ProtoMessage()

func (*ExportResponse) ProtoReflect

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

func (*ExportResponse) Reset

func (x *ExportResponse) Reset()

func (*ExportResponse) String

func (x *ExportResponse) String() string

func (*ExportResponse) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

type Filter

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

func (Filter) Descriptor() protoreflect.EnumDescriptor

func (Filter) Enum

func (x Filter) Enum() *Filter

func (Filter) EnumDescriptor deprecated

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

Deprecated: Use Filter.Descriptor instead.

func (Filter) Number

func (x Filter) Number() protoreflect.EnumNumber

func (Filter) String

func (x Filter) String() string

func (Filter) Type

func (Filter) Type() protoreflect.EnumType

type GetInvoiceRequest

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

func (*GetInvoiceRequest) Descriptor deprecated

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

Deprecated: Use GetInvoiceRequest.ProtoReflect.Descriptor instead.

func (*GetInvoiceRequest) GetAddress

func (x *GetInvoiceRequest) GetAddress() string

func (*GetInvoiceRequest) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*GetInvoiceRequest) ProtoMessage

func (*GetInvoiceRequest) ProtoMessage()

func (*GetInvoiceRequest) ProtoReflect

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

func (*GetInvoiceRequest) Reset

func (x *GetInvoiceRequest) Reset()

func (*GetInvoiceRequest) String

func (x *GetInvoiceRequest) String() string

func (*GetInvoiceRequest) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

type GetInvoiceResponse

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

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

Deprecated: Use GetInvoiceResponse.ProtoReflect.Descriptor instead.

func (*GetInvoiceResponse) GetInvoice

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

func (*GetInvoiceResponse) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*GetInvoiceResponse) ProtoMessage

func (*GetInvoiceResponse) ProtoMessage()

func (*GetInvoiceResponse) ProtoReflect

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

func (*GetInvoiceResponse) Reset

func (x *GetInvoiceResponse) Reset()

func (*GetInvoiceResponse) String

func (x *GetInvoiceResponse) String() string

func (*GetInvoiceResponse) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

type ListInvoicesRequest

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

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

Deprecated: Use ListInvoicesRequest.ProtoReflect.Descriptor instead.

func (*ListInvoicesRequest) GetCount

func (x *ListInvoicesRequest) GetCount() int64

func (*ListInvoicesRequest) GetFilters

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

func (*ListInvoicesRequest) GetOffset

func (x *ListInvoicesRequest) GetOffset() int64

func (*ListInvoicesRequest) MarshalJSON

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

MarshalJSON implements json.Marshaler

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) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

type ListInvoicesResponse

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

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

Deprecated: Use ListInvoicesResponse.ProtoReflect.Descriptor instead.

func (*ListInvoicesResponse) GetInvoices

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

func (*ListInvoicesResponse) GetTotal

func (x *ListInvoicesResponse) GetTotal() int64

func (*ListInvoicesResponse) MarshalJSON

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

MarshalJSON implements json.Marshaler

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) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

type RefreshInvoiceRequest

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

func (*RefreshInvoiceRequest) Descriptor deprecated

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

Deprecated: Use RefreshInvoiceRequest.ProtoReflect.Descriptor instead.

func (*RefreshInvoiceRequest) GetAddress

func (x *RefreshInvoiceRequest) GetAddress() string

func (*RefreshInvoiceRequest) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*RefreshInvoiceRequest) ProtoMessage

func (*RefreshInvoiceRequest) ProtoMessage()

func (*RefreshInvoiceRequest) ProtoReflect

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

func (*RefreshInvoiceRequest) Reset

func (x *RefreshInvoiceRequest) Reset()

func (*RefreshInvoiceRequest) String

func (x *RefreshInvoiceRequest) String() string

func (*RefreshInvoiceRequest) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

type RefreshInvoiceResponse

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

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

Deprecated: Use RefreshInvoiceResponse.ProtoReflect.Descriptor instead.

func (*RefreshInvoiceResponse) GetInvoice

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

func (*RefreshInvoiceResponse) MarshalJSON

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

MarshalJSON implements json.Marshaler

func (*RefreshInvoiceResponse) ProtoMessage

func (*RefreshInvoiceResponse) ProtoMessage()

func (*RefreshInvoiceResponse) ProtoReflect

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

func (*RefreshInvoiceResponse) Reset

func (x *RefreshInvoiceResponse) Reset()

func (*RefreshInvoiceResponse) String

func (x *RefreshInvoiceResponse) String() string

func (*RefreshInvoiceResponse) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler

type UnimplementedBitcoinPaymentDashboardServiceServer added in v0.18.6

type UnimplementedBitcoinPaymentDashboardServiceServer struct{}

UnimplementedBitcoinPaymentDashboardServiceServer 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 (UnimplementedBitcoinPaymentDashboardServiceServer) CreateInvoice added in v0.18.6

func (UnimplementedBitcoinPaymentDashboardServiceServer) Export added in v0.18.6

func (UnimplementedBitcoinPaymentDashboardServiceServer) ListInvoices added in v0.18.6

func (UnimplementedBitcoinPaymentDashboardServiceServer) Ping added in v0.18.6

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) GetInvoice

func (UnimplementedBitcoinPaymentServiceServer) RefreshInvoice

type UnsafeBitcoinPaymentDashboardServiceServer added in v0.18.6

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

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

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