shardpb

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

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthShard        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowShard          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupShard = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type AdditionalInfo

type AdditionalInfo struct {
	Info                 string   `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty" pg:"info"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func NewPopulatedAdditionalInfo

func NewPopulatedAdditionalInfo(r randyShard, easy bool) *AdditionalInfo

func (*AdditionalInfo) Descriptor

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

func (*AdditionalInfo) GetInfo

func (m *AdditionalInfo) GetInfo() string

func (*AdditionalInfo) Marshal

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

func (*AdditionalInfo) MarshalTo

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

func (*AdditionalInfo) MarshalToSizedBuffer

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

func (*AdditionalInfo) ProtoMessage

func (*AdditionalInfo) ProtoMessage()

func (*AdditionalInfo) Reset

func (m *AdditionalInfo) Reset()

func (*AdditionalInfo) Size

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

func (*AdditionalInfo) String

func (m *AdditionalInfo) String() string

func (*AdditionalInfo) Unmarshal

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

func (*AdditionalInfo) XXX_DiscardUnknown

func (m *AdditionalInfo) XXX_DiscardUnknown()

func (*AdditionalInfo) XXX_Marshal

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

func (*AdditionalInfo) XXX_Merge

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

func (*AdditionalInfo) XXX_MessageName

func (*AdditionalInfo) XXX_MessageName() string

func (*AdditionalInfo) XXX_Size

func (m *AdditionalInfo) XXX_Size() int

func (*AdditionalInfo) XXX_Unmarshal

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

type SignedContracts

type SignedContracts struct {
	SignedEscrowContract []byte          `` /* 151-byte string literal not displayed */
	SignedGuardContract  *guard.Contract `` /* 147-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}        `json:"-" pg:"-"`
	XXX_unrecognized     []byte          `json:"-" pg:"-"`
	XXX_sizecache        int32           `json:"-" pg:"-"`
}

func NewPopulatedSignedContracts

func NewPopulatedSignedContracts(r randyShard, easy bool) *SignedContracts

func (*SignedContracts) Descriptor

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

func (*SignedContracts) GetSignedEscrowContract

func (m *SignedContracts) GetSignedEscrowContract() []byte

func (*SignedContracts) GetSignedGuardContract

func (m *SignedContracts) GetSignedGuardContract() *guard.Contract

func (*SignedContracts) Marshal

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

func (*SignedContracts) MarshalTo

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

func (*SignedContracts) MarshalToSizedBuffer

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

func (*SignedContracts) ProtoMessage

func (*SignedContracts) ProtoMessage()

func (*SignedContracts) Reset

func (m *SignedContracts) Reset()

func (*SignedContracts) Size

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

func (*SignedContracts) String

func (m *SignedContracts) String() string

func (*SignedContracts) Unmarshal

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

func (*SignedContracts) XXX_DiscardUnknown

func (m *SignedContracts) XXX_DiscardUnknown()

func (*SignedContracts) XXX_Marshal

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

func (*SignedContracts) XXX_Merge

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

func (*SignedContracts) XXX_MessageName

func (*SignedContracts) XXX_MessageName() string

func (*SignedContracts) XXX_Size

func (m *SignedContracts) XXX_Size() int

func (*SignedContracts) XXX_Unmarshal

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

type Status

type Status struct {
	Status               string   `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" pg:"status"`
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" pg:"message"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func NewPopulatedStatus

func NewPopulatedStatus(r randyShard, easy bool) *Status

func (*Status) Descriptor

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

func (*Status) GetMessage

func (m *Status) GetMessage() string

func (*Status) GetStatus

func (m *Status) GetStatus() string

func (*Status) Marshal

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

func (*Status) MarshalTo

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

func (*Status) MarshalToSizedBuffer

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

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) Size

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

func (*Status) String

func (m *Status) String() string

func (*Status) Unmarshal

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

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

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

func (*Status) XXX_Merge

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

func (*Status) XXX_MessageName

func (*Status) XXX_MessageName() string

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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