pb

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: BSD-3-Clause Imports: 5 Imported by: 1

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

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

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

func (*PaymentAck) GetAmount added in v0.6.0

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

func (*PaymentAck) GetTimestamp added in v0.6.0

func (m *PaymentAck) GetTimestamp() int64

func (*PaymentAck) Marshal added in v0.6.0

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

func (*PaymentAck) MarshalTo added in v0.6.0

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

func (*PaymentAck) MarshalToSizedBuffer added in v0.6.0

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

func (*PaymentAck) ProtoMessage added in v0.6.0

func (*PaymentAck) ProtoMessage()

func (*PaymentAck) Reset added in v0.6.0

func (m *PaymentAck) Reset()

func (*PaymentAck) Size added in v0.6.0

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

func (*PaymentAck) String added in v0.6.0

func (m *PaymentAck) String() string

func (*PaymentAck) Unmarshal added in v0.6.0

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

func (*PaymentAck) XXX_DiscardUnknown added in v0.6.0

func (m *PaymentAck) XXX_DiscardUnknown()

func (*PaymentAck) XXX_Marshal added in v0.6.0

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

func (*PaymentAck) XXX_Merge added in v0.6.0

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

func (*PaymentAck) XXX_Size added in v0.6.0

func (m *PaymentAck) XXX_Size() int

func (*PaymentAck) XXX_Unmarshal added in v0.6.0

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