proto

package
v0.0.0-...-9ccab3c Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthFundService        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFundService          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupFundService = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterFundingServiceServer

func RegisterFundingServiceServer(s *grpc.Server, srv FundingServiceServer)

Types

type FundingRequest

type FundingRequest struct {
	Address       string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	AddressPrefix string `protobuf:"bytes,2,opt,name=addressPrefix,proto3" json:"addressPrefix,omitempty"`
}

func (*FundingRequest) Descriptor

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

func (*FundingRequest) GetAddress

func (m *FundingRequest) GetAddress() string

func (*FundingRequest) GetAddressPrefix

func (m *FundingRequest) GetAddressPrefix() string

func (*FundingRequest) Marshal

func (m *FundingRequest) Marshal() (dAtA []byte, err error)

func (*FundingRequest) MarshalTo

func (m *FundingRequest) MarshalTo(dAtA []byte) (int, error)

func (*FundingRequest) MarshalToSizedBuffer

func (m *FundingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FundingRequest) ProtoMessage

func (*FundingRequest) ProtoMessage()

func (*FundingRequest) Reset

func (m *FundingRequest) Reset()

func (*FundingRequest) Size

func (m *FundingRequest) Size() (n int)

func (*FundingRequest) String

func (m *FundingRequest) String() string

func (*FundingRequest) Unmarshal

func (m *FundingRequest) Unmarshal(dAtA []byte) error

func (*FundingRequest) XXX_DiscardUnknown

func (m *FundingRequest) XXX_DiscardUnknown()

func (*FundingRequest) XXX_Marshal

func (m *FundingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FundingRequest) XXX_Merge

func (m *FundingRequest) XXX_Merge(src proto.Message)

func (*FundingRequest) XXX_Size

func (m *FundingRequest) XXX_Size() int

func (*FundingRequest) XXX_Unmarshal

func (m *FundingRequest) XXX_Unmarshal(b []byte) error

type FundingResponse

type FundingResponse struct {
}

func (*FundingResponse) Descriptor

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

func (*FundingResponse) Marshal

func (m *FundingResponse) Marshal() (dAtA []byte, err error)

func (*FundingResponse) MarshalTo

func (m *FundingResponse) MarshalTo(dAtA []byte) (int, error)

func (*FundingResponse) MarshalToSizedBuffer

func (m *FundingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FundingResponse) ProtoMessage

func (*FundingResponse) ProtoMessage()

func (*FundingResponse) Reset

func (m *FundingResponse) Reset()

func (*FundingResponse) Size

func (m *FundingResponse) Size() (n int)

func (*FundingResponse) String

func (m *FundingResponse) String() string

func (*FundingResponse) Unmarshal

func (m *FundingResponse) Unmarshal(dAtA []byte) error

func (*FundingResponse) XXX_DiscardUnknown

func (m *FundingResponse) XXX_DiscardUnknown()

func (*FundingResponse) XXX_Marshal

func (m *FundingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FundingResponse) XXX_Merge

func (m *FundingResponse) XXX_Merge(src proto.Message)

func (*FundingResponse) XXX_Size

func (m *FundingResponse) XXX_Size() int

func (*FundingResponse) XXX_Unmarshal

func (m *FundingResponse) XXX_Unmarshal(b []byte) error

type FundingServiceClient

type FundingServiceClient interface {
	Fund(ctx context.Context, in *FundingRequest, opts ...grpc.CallOption) (*FundingResponse, error)
}

FundingServiceClient is the client API for FundingService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewFundingServiceClient

func NewFundingServiceClient(cc *grpc.ClientConn) FundingServiceClient

type FundingServiceServer

type FundingServiceServer interface {
	Fund(context.Context, *FundingRequest) (*FundingResponse, error)
}

FundingServiceServer is the server API for FundingService service.

type UnimplementedFundingServiceServer

type UnimplementedFundingServiceServer struct {
}

UnimplementedFundingServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedFundingServiceServer) Fund

Jump to

Keyboard shortcuts

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