pb

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthPseudosettle        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPseudosettle          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPseudosettle = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Payment

type Payment struct {
	Amount []byte `protobuf:"bytes,1,opt,name=Amount,proto3" json:"Amount,omitempty"`
}

func (*Payment) Descriptor

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

func (*Payment) GetAmount

func (m *Payment) GetAmount() []byte

func (*Payment) Marshal

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

func (*Payment) MarshalTo

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

func (*Payment) MarshalToSizedBuffer

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

func (*Payment) ProtoMessage

func (*Payment) ProtoMessage()

func (*Payment) Reset

func (m *Payment) Reset()

func (*Payment) Size

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

func (*Payment) String

func (m *Payment) String() string

func (*Payment) Unmarshal

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

func (*Payment) XXX_DiscardUnknown

func (m *Payment) XXX_DiscardUnknown()

func (*Payment) XXX_Marshal

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

func (*Payment) XXX_Merge

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

func (*Payment) XXX_Size

func (m *Payment) XXX_Size() int

func (*Payment) XXX_Unmarshal

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

type PaymentAck

type PaymentAck struct {
	Amount    []byte `protobuf:"bytes,1,opt,name=Amount,proto3" json:"Amount,omitempty"`
	Timestamp int64  `protobuf:"varint,2,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
}

func (*PaymentAck) Descriptor

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

func (*PaymentAck) GetAmount

func (m *PaymentAck) GetAmount() []byte

func (*PaymentAck) GetTimestamp

func (m *PaymentAck) GetTimestamp() int64

func (*PaymentAck) Marshal

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

func (*PaymentAck) MarshalTo

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

func (*PaymentAck) MarshalToSizedBuffer

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

func (*PaymentAck) ProtoMessage

func (*PaymentAck) ProtoMessage()

func (*PaymentAck) Reset

func (m *PaymentAck) Reset()

func (*PaymentAck) Size

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

func (*PaymentAck) String

func (m *PaymentAck) String() string

func (*PaymentAck) Unmarshal

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

func (*PaymentAck) XXX_DiscardUnknown

func (m *PaymentAck) XXX_DiscardUnknown()

func (*PaymentAck) XXX_Marshal

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

func (*PaymentAck) XXX_Merge

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

func (*PaymentAck) XXX_Size

func (m *PaymentAck) XXX_Size() int

func (*PaymentAck) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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