Documentation ¶
Index ¶
- Variables
- type OfflineMeta
- func (*OfflineMeta) Descriptor() ([]byte, []int)
- func (m *OfflineMeta) GetOfflineNonceTs() uint64
- func (m *OfflineMeta) GetOfflinePeerId() string
- func (m *OfflineMeta) GetOfflineSignature() string
- func (m *OfflineMeta) Marshal() (dAtA []byte, err error)
- func (m *OfflineMeta) MarshalTo(dAtA []byte) (int, error)
- func (m *OfflineMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OfflineMeta) ProtoMessage()
- func (m *OfflineMeta) Reset()
- func (m *OfflineMeta) Size() (n int)
- func (m *OfflineMeta) String() string
- func (m *OfflineMeta) Unmarshal(dAtA []byte) error
- func (m *OfflineMeta) XXX_DiscardUnknown()
- func (m *OfflineMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OfflineMeta) XXX_Merge(src proto.Message)
- func (*OfflineMeta) XXX_MessageName() string
- func (m *OfflineMeta) XXX_Size() int
- func (m *OfflineMeta) XXX_Unmarshal(b []byte) error
- type OfflineSigning
- func (*OfflineSigning) Descriptor() ([]byte, []int)
- func (m *OfflineSigning) GetPrice() int64
- func (m *OfflineSigning) GetRaw() []byte
- func (m *OfflineSigning) GetSig() []byte
- func (m *OfflineSigning) Marshal() (dAtA []byte, err error)
- func (m *OfflineSigning) MarshalTo(dAtA []byte) (int, error)
- func (m *OfflineSigning) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OfflineSigning) ProtoMessage()
- func (m *OfflineSigning) Reset()
- func (m *OfflineSigning) Size() (n int)
- func (m *OfflineSigning) String() string
- func (m *OfflineSigning) Unmarshal(dAtA []byte) error
- func (m *OfflineSigning) XXX_DiscardUnknown()
- func (m *OfflineSigning) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OfflineSigning) XXX_Merge(src proto.Message)
- func (*OfflineSigning) XXX_MessageName() string
- func (m *OfflineSigning) XXX_Size() int
- func (m *OfflineSigning) XXX_Unmarshal(b []byte) error
- type RenterSessionAdditionalInfo
- func (*RenterSessionAdditionalInfo) Descriptor() ([]byte, []int)
- func (m *RenterSessionAdditionalInfo) GetInfo() string
- func (m *RenterSessionAdditionalInfo) GetLastUpdated() time.Time
- func (m *RenterSessionAdditionalInfo) Marshal() (dAtA []byte, err error)
- func (m *RenterSessionAdditionalInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *RenterSessionAdditionalInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RenterSessionAdditionalInfo) ProtoMessage()
- func (m *RenterSessionAdditionalInfo) Reset()
- func (m *RenterSessionAdditionalInfo) Size() (n int)
- func (m *RenterSessionAdditionalInfo) String() string
- func (m *RenterSessionAdditionalInfo) Unmarshal(dAtA []byte) error
- func (m *RenterSessionAdditionalInfo) XXX_DiscardUnknown()
- func (m *RenterSessionAdditionalInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RenterSessionAdditionalInfo) XXX_Merge(src proto.Message)
- func (*RenterSessionAdditionalInfo) XXX_MessageName() string
- func (m *RenterSessionAdditionalInfo) XXX_Size() int
- func (m *RenterSessionAdditionalInfo) XXX_Unmarshal(b []byte) error
- type RenterSessionStatus
- func (*RenterSessionStatus) Descriptor() ([]byte, []int)
- func (m *RenterSessionStatus) GetHash() string
- func (m *RenterSessionStatus) GetLastUpdated() time.Time
- func (m *RenterSessionStatus) GetMessage() string
- func (m *RenterSessionStatus) GetShardHashes() []string
- func (m *RenterSessionStatus) GetStatus() string
- func (m *RenterSessionStatus) Marshal() (dAtA []byte, err error)
- func (m *RenterSessionStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *RenterSessionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RenterSessionStatus) ProtoMessage()
- func (m *RenterSessionStatus) Reset()
- func (m *RenterSessionStatus) Size() (n int)
- func (m *RenterSessionStatus) String() string
- func (m *RenterSessionStatus) Unmarshal(dAtA []byte) error
- func (m *RenterSessionStatus) XXX_DiscardUnknown()
- func (m *RenterSessionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RenterSessionStatus) XXX_Merge(src proto.Message)
- func (*RenterSessionStatus) XXX_MessageName() string
- func (m *RenterSessionStatus) XXX_Size() int
- func (m *RenterSessionStatus) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type OfflineMeta ¶
type OfflineMeta struct { OfflinePeerId string `protobuf:"bytes,1,opt,name=offline_peer_id,json=offlinePeerId,proto3" json:"offline_peer_id,omitempty" pg:"offline_peer_id"` OfflineNonceTs uint64 `` /* 128-byte string literal not displayed */ OfflineSignature string `` /* 132-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedOfflineMeta ¶
func NewPopulatedOfflineMeta(r randyRenters, easy bool) *OfflineMeta
func (*OfflineMeta) Descriptor ¶
func (*OfflineMeta) Descriptor() ([]byte, []int)
func (*OfflineMeta) GetOfflineNonceTs ¶
func (m *OfflineMeta) GetOfflineNonceTs() uint64
func (*OfflineMeta) GetOfflinePeerId ¶
func (m *OfflineMeta) GetOfflinePeerId() string
func (*OfflineMeta) GetOfflineSignature ¶
func (m *OfflineMeta) GetOfflineSignature() string
func (*OfflineMeta) Marshal ¶
func (m *OfflineMeta) Marshal() (dAtA []byte, err error)
func (*OfflineMeta) MarshalToSizedBuffer ¶
func (m *OfflineMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OfflineMeta) ProtoMessage ¶
func (*OfflineMeta) ProtoMessage()
func (*OfflineMeta) Reset ¶
func (m *OfflineMeta) Reset()
func (*OfflineMeta) Size ¶
func (m *OfflineMeta) Size() (n int)
func (*OfflineMeta) String ¶
func (m *OfflineMeta) String() string
func (*OfflineMeta) Unmarshal ¶
func (m *OfflineMeta) Unmarshal(dAtA []byte) error
func (*OfflineMeta) XXX_DiscardUnknown ¶
func (m *OfflineMeta) XXX_DiscardUnknown()
func (*OfflineMeta) XXX_Marshal ¶
func (m *OfflineMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OfflineMeta) XXX_Merge ¶
func (m *OfflineMeta) XXX_Merge(src proto.Message)
func (*OfflineMeta) XXX_MessageName ¶
func (*OfflineMeta) XXX_MessageName() string
func (*OfflineMeta) XXX_Size ¶
func (m *OfflineMeta) XXX_Size() int
func (*OfflineMeta) XXX_Unmarshal ¶
func (m *OfflineMeta) XXX_Unmarshal(b []byte) error
type OfflineSigning ¶
type OfflineSigning struct { Raw []byte `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty" pg:"raw"` Price int64 `protobuf:"varint,2,opt,name=price,proto3" json:"price,omitempty" pg:"price"` Sig []byte `protobuf:"bytes,3,opt,name=sig,proto3" json:"sig,omitempty" pg:"sig"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedOfflineSigning ¶
func NewPopulatedOfflineSigning(r randyRenters, easy bool) *OfflineSigning
func (*OfflineSigning) Descriptor ¶
func (*OfflineSigning) Descriptor() ([]byte, []int)
func (*OfflineSigning) GetPrice ¶
func (m *OfflineSigning) GetPrice() int64
func (*OfflineSigning) GetRaw ¶
func (m *OfflineSigning) GetRaw() []byte
func (*OfflineSigning) GetSig ¶
func (m *OfflineSigning) GetSig() []byte
func (*OfflineSigning) Marshal ¶
func (m *OfflineSigning) Marshal() (dAtA []byte, err error)
func (*OfflineSigning) MarshalToSizedBuffer ¶
func (m *OfflineSigning) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OfflineSigning) ProtoMessage ¶
func (*OfflineSigning) ProtoMessage()
func (*OfflineSigning) Reset ¶
func (m *OfflineSigning) Reset()
func (*OfflineSigning) Size ¶
func (m *OfflineSigning) Size() (n int)
func (*OfflineSigning) String ¶
func (m *OfflineSigning) String() string
func (*OfflineSigning) Unmarshal ¶
func (m *OfflineSigning) Unmarshal(dAtA []byte) error
func (*OfflineSigning) XXX_DiscardUnknown ¶
func (m *OfflineSigning) XXX_DiscardUnknown()
func (*OfflineSigning) XXX_Marshal ¶
func (m *OfflineSigning) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OfflineSigning) XXX_Merge ¶
func (m *OfflineSigning) XXX_Merge(src proto.Message)
func (*OfflineSigning) XXX_MessageName ¶
func (*OfflineSigning) XXX_MessageName() string
func (*OfflineSigning) XXX_Size ¶
func (m *OfflineSigning) XXX_Size() int
func (*OfflineSigning) XXX_Unmarshal ¶
func (m *OfflineSigning) XXX_Unmarshal(b []byte) error
type RenterSessionAdditionalInfo ¶
type RenterSessionAdditionalInfo struct { Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty" pg:"info"` LastUpdated time.Time `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated,proto3,stdtime" json:"last_updated" pg:"last_updated"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedRenterSessionAdditionalInfo ¶
func NewPopulatedRenterSessionAdditionalInfo(r randyRenters, easy bool) *RenterSessionAdditionalInfo
func (*RenterSessionAdditionalInfo) Descriptor ¶
func (*RenterSessionAdditionalInfo) Descriptor() ([]byte, []int)
func (*RenterSessionAdditionalInfo) GetInfo ¶
func (m *RenterSessionAdditionalInfo) GetInfo() string
func (*RenterSessionAdditionalInfo) GetLastUpdated ¶
func (m *RenterSessionAdditionalInfo) GetLastUpdated() time.Time
func (*RenterSessionAdditionalInfo) Marshal ¶
func (m *RenterSessionAdditionalInfo) Marshal() (dAtA []byte, err error)
func (*RenterSessionAdditionalInfo) MarshalTo ¶
func (m *RenterSessionAdditionalInfo) MarshalTo(dAtA []byte) (int, error)
func (*RenterSessionAdditionalInfo) MarshalToSizedBuffer ¶
func (m *RenterSessionAdditionalInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RenterSessionAdditionalInfo) ProtoMessage ¶
func (*RenterSessionAdditionalInfo) ProtoMessage()
func (*RenterSessionAdditionalInfo) Reset ¶
func (m *RenterSessionAdditionalInfo) Reset()
func (*RenterSessionAdditionalInfo) Size ¶
func (m *RenterSessionAdditionalInfo) Size() (n int)
func (*RenterSessionAdditionalInfo) String ¶
func (m *RenterSessionAdditionalInfo) String() string
func (*RenterSessionAdditionalInfo) Unmarshal ¶
func (m *RenterSessionAdditionalInfo) Unmarshal(dAtA []byte) error
func (*RenterSessionAdditionalInfo) XXX_DiscardUnknown ¶
func (m *RenterSessionAdditionalInfo) XXX_DiscardUnknown()
func (*RenterSessionAdditionalInfo) XXX_Marshal ¶
func (m *RenterSessionAdditionalInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RenterSessionAdditionalInfo) XXX_Merge ¶
func (m *RenterSessionAdditionalInfo) XXX_Merge(src proto.Message)
func (*RenterSessionAdditionalInfo) XXX_MessageName ¶
func (*RenterSessionAdditionalInfo) XXX_MessageName() string
func (*RenterSessionAdditionalInfo) XXX_Size ¶
func (m *RenterSessionAdditionalInfo) XXX_Size() int
func (*RenterSessionAdditionalInfo) XXX_Unmarshal ¶
func (m *RenterSessionAdditionalInfo) XXX_Unmarshal(b []byte) error
type RenterSessionStatus ¶
type RenterSessionStatus 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"` LastUpdated time.Time `protobuf:"bytes,3,opt,name=last_updated,json=lastUpdated,proto3,stdtime" json:"last_updated" pg:"last_updated"` ShardHashes []string `protobuf:"bytes,4,rep,name=shard_hashes,json=shardHashes,proto3" json:"shard_hashes,omitempty" pg:"shard_hashes"` Hash string `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty" pg:"hash"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedRenterSessionStatus ¶
func NewPopulatedRenterSessionStatus(r randyRenters, easy bool) *RenterSessionStatus
func (*RenterSessionStatus) Descriptor ¶
func (*RenterSessionStatus) Descriptor() ([]byte, []int)
func (*RenterSessionStatus) GetHash ¶
func (m *RenterSessionStatus) GetHash() string
func (*RenterSessionStatus) GetLastUpdated ¶
func (m *RenterSessionStatus) GetLastUpdated() time.Time
func (*RenterSessionStatus) GetMessage ¶
func (m *RenterSessionStatus) GetMessage() string
func (*RenterSessionStatus) GetShardHashes ¶
func (m *RenterSessionStatus) GetShardHashes() []string
func (*RenterSessionStatus) GetStatus ¶
func (m *RenterSessionStatus) GetStatus() string
func (*RenterSessionStatus) Marshal ¶
func (m *RenterSessionStatus) Marshal() (dAtA []byte, err error)
func (*RenterSessionStatus) MarshalTo ¶
func (m *RenterSessionStatus) MarshalTo(dAtA []byte) (int, error)
func (*RenterSessionStatus) MarshalToSizedBuffer ¶
func (m *RenterSessionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RenterSessionStatus) ProtoMessage ¶
func (*RenterSessionStatus) ProtoMessage()
func (*RenterSessionStatus) Reset ¶
func (m *RenterSessionStatus) Reset()
func (*RenterSessionStatus) Size ¶
func (m *RenterSessionStatus) Size() (n int)
func (*RenterSessionStatus) String ¶
func (m *RenterSessionStatus) String() string
func (*RenterSessionStatus) Unmarshal ¶
func (m *RenterSessionStatus) Unmarshal(dAtA []byte) error
func (*RenterSessionStatus) XXX_DiscardUnknown ¶
func (m *RenterSessionStatus) XXX_DiscardUnknown()
func (*RenterSessionStatus) XXX_Marshal ¶
func (m *RenterSessionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RenterSessionStatus) XXX_Merge ¶
func (m *RenterSessionStatus) XXX_Merge(src proto.Message)
func (*RenterSessionStatus) XXX_MessageName ¶
func (*RenterSessionStatus) XXX_MessageName() string
func (*RenterSessionStatus) XXX_Size ¶
func (m *RenterSessionStatus) XXX_Size() int
func (*RenterSessionStatus) XXX_Unmarshal ¶
func (m *RenterSessionStatus) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.