Documentation ¶
Index ¶
- Variables
- type ContractStat
- func (*ContractStat) Descriptor() ([]byte, []int)
- func (m *ContractStat) GetActiveContractNum() int64
- func (m *ContractStat) GetCompensationOutstanding() int64
- func (m *ContractStat) GetCompensationPaid() int64
- func (m *ContractStat) GetFirstContractStart() time.Time
- func (m *ContractStat) GetLastContractEnd() time.Time
- func (m *ContractStat) GetRole() ContractStat_Role
- func (m *ContractStat) Marshal() (dAtA []byte, err error)
- func (m *ContractStat) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractStat) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractStat) ProtoMessage()
- func (m *ContractStat) Reset()
- func (m *ContractStat) Size() (n int)
- func (m *ContractStat) String() string
- func (m *ContractStat) Unmarshal(dAtA []byte) error
- func (m *ContractStat) XXX_DiscardUnknown()
- func (m *ContractStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractStat) XXX_Merge(src proto.Message)
- func (*ContractStat) XXX_MessageName() string
- func (m *ContractStat) XXX_Size() int
- func (m *ContractStat) XXX_Unmarshal(b []byte) error
- type ContractStat_Role
- type Contracts
- func (*Contracts) Descriptor() ([]byte, []int)
- func (m *Contracts) GetContracts() []*Contracts_Contract
- func (m *Contracts) Marshal() (dAtA []byte, err error)
- func (m *Contracts) MarshalTo(dAtA []byte) (int, error)
- func (m *Contracts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Contracts) ProtoMessage()
- func (m *Contracts) Reset()
- func (m *Contracts) Size() (n int)
- func (m *Contracts) String() string
- func (m *Contracts) Unmarshal(dAtA []byte) error
- func (m *Contracts) XXX_DiscardUnknown()
- func (m *Contracts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Contracts) XXX_Merge(src proto.Message)
- func (*Contracts) XXX_MessageName() string
- func (m *Contracts) XXX_Size() int
- func (m *Contracts) XXX_Unmarshal(b []byte) error
- type Contracts_Contract
- func (*Contracts_Contract) Descriptor() ([]byte, []int)
- func (m *Contracts_Contract) GetCompensationOutstanding() int64
- func (m *Contracts_Contract) GetCompensationPaid() int64
- func (m *Contracts_Contract) GetContractId() string
- func (m *Contracts_Contract) GetEndTime() time.Time
- func (m *Contracts_Contract) GetFileHash() string
- func (m *Contracts_Contract) GetHostId() string
- func (m *Contracts_Contract) GetNextEscrowTime() time.Time
- func (m *Contracts_Contract) GetRenterId() string
- func (m *Contracts_Contract) GetShardHash() string
- func (m *Contracts_Contract) GetShardSize() int64
- func (m *Contracts_Contract) GetStartTime() time.Time
- func (m *Contracts_Contract) GetStatus() guard.Contract_ContractState
- func (m *Contracts_Contract) GetUnitPrice() int64
- func (m *Contracts_Contract) Marshal() (dAtA []byte, err error)
- func (m *Contracts_Contract) MarshalTo(dAtA []byte) (int, error)
- func (m *Contracts_Contract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Contracts_Contract) ProtoMessage()
- func (m *Contracts_Contract) Reset()
- func (m *Contracts_Contract) Size() (n int)
- func (m *Contracts_Contract) String() string
- func (m *Contracts_Contract) Unmarshal(dAtA []byte) error
- func (m *Contracts_Contract) XXX_DiscardUnknown()
- func (m *Contracts_Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Contracts_Contract) XXX_Merge(src proto.Message)
- func (*Contracts_Contract) XXX_MessageName() string
- func (m *Contracts_Contract) XXX_Size() int
- func (m *Contracts_Contract) XXX_Unmarshal(b []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetArchType() string
- func (m *Node) GetBandwidthPriceDeal() uint64
- func (m *Node) GetBlocksDown() uint64
- func (m *Node) GetBlocksUp() uint64
- func (m *Node) GetBtfsVersion() string
- func (m *Node) GetCpuInfo() string
- func (m *Node) GetCpuUsed() float64
- func (m *Node) GetDownload() uint64
- func (m *Node) GetHVal() string
- func (m *Node) GetMemoryUsed() uint64
- func (m *Node) GetNodeId() string
- func (m *Node) GetOsType() string
- func (m *Node) GetPeersConnected() uint64
- func (m *Node) GetReputation() float64
- func (m *Node) GetStoragePriceDeal() uint64
- func (m *Node) GetStorageUsed() uint64
- func (m *Node) GetStorageVolumeCap() uint64
- func (m *Node) GetTimeCreated() time.Time
- func (m *Node) GetTotalDownload() uint64
- func (m *Node) GetTotalUpload() uint64
- func (m *Node) GetUpTime() uint64
- func (m *Node) GetUpload() uint64
- func (m *Node) GettableName() string
- func (m *Node) Marshal() (dAtA []byte, err error)
- func (m *Node) MarshalTo(dAtA []byte) (int, error)
- func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) Size() (n int)
- func (m *Node) String() string
- func (m *Node) Unmarshal(dAtA []byte) error
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (*Node) XXX_MessageName() string
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type Node_ExperimentalFlags
- func (*Node_ExperimentalFlags) Descriptor() ([]byte, []int)
- func (m *Node_ExperimentalFlags) GetAnalytics() bool
- func (m *Node_ExperimentalFlags) GetFilestoreEnabled() bool
- func (m *Node_ExperimentalFlags) GetHostsSyncEnabled() bool
- func (m *Node_ExperimentalFlags) GetHostsSyncMode() string
- func (m *Node_ExperimentalFlags) GetLibp2PStreamMounting() bool
- func (m *Node_ExperimentalFlags) GetP2PHttpProxy() bool
- func (m *Node_ExperimentalFlags) GetPreferTls() bool
- func (m *Node_ExperimentalFlags) GetQuic() bool
- func (m *Node_ExperimentalFlags) GetRemoveOnUnpin() bool
- func (m *Node_ExperimentalFlags) GetShardingEnabled() bool
- func (m *Node_ExperimentalFlags) GetStorageClientEnabled() bool
- func (m *Node_ExperimentalFlags) GetStorageHostEnabled() bool
- func (m *Node_ExperimentalFlags) GetStrategicProviding() bool
- func (m *Node_ExperimentalFlags) GetUrlStoreEnabled() bool
- func (m *Node_ExperimentalFlags) Marshal() (dAtA []byte, err error)
- func (m *Node_ExperimentalFlags) MarshalTo(dAtA []byte) (int, error)
- func (m *Node_ExperimentalFlags) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Node_ExperimentalFlags) ProtoMessage()
- func (m *Node_ExperimentalFlags) Reset()
- func (m *Node_ExperimentalFlags) Size() (n int)
- func (m *Node_ExperimentalFlags) String() string
- func (m *Node_ExperimentalFlags) Unmarshal(dAtA []byte) error
- func (m *Node_ExperimentalFlags) XXX_DiscardUnknown()
- func (m *Node_ExperimentalFlags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node_ExperimentalFlags) XXX_Merge(src proto.Message)
- func (*Node_ExperimentalFlags) XXX_MessageName() string
- func (m *Node_ExperimentalFlags) XXX_Size() int
- func (m *Node_ExperimentalFlags) XXX_Unmarshal(b []byte) error
- type Node_Geo
- func (*Node_Geo) Descriptor() ([]byte, []int)
- func (m *Node_Geo) GetCountryShort() string
- func (m *Node_Geo) GetLatitude() float32
- func (m *Node_Geo) GetLongitude() float32
- func (m *Node_Geo) GetRegion() string
- func (m *Node_Geo) Marshal() (dAtA []byte, err error)
- func (m *Node_Geo) MarshalTo(dAtA []byte) (int, error)
- func (m *Node_Geo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Node_Geo) ProtoMessage()
- func (m *Node_Geo) Reset()
- func (m *Node_Geo) Size() (n int)
- func (m *Node_Geo) String() string
- func (m *Node_Geo) Unmarshal(dAtA []byte) error
- func (m *Node_Geo) XXX_DiscardUnknown()
- func (m *Node_Geo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node_Geo) XXX_Merge(src proto.Message)
- func (*Node_Geo) XXX_MessageName() string
- func (m *Node_Geo) XXX_Size() int
- func (m *Node_Geo) XXX_Unmarshal(b []byte) error
- type Node_Settings
- func (*Node_Settings) Descriptor() ([]byte, []int)
- func (m *Node_Settings) GetBandwidthLimit() float64
- func (m *Node_Settings) GetBandwidthPriceAsk() uint64
- func (m *Node_Settings) GetCollateralStake() uint64
- func (m *Node_Settings) GetStoragePriceAsk() uint64
- func (m *Node_Settings) GetStorageTimeMin() uint64
- func (m *Node_Settings) Marshal() (dAtA []byte, err error)
- func (m *Node_Settings) MarshalTo(dAtA []byte) (int, error)
- func (m *Node_Settings) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Node_Settings) ProtoMessage()
- func (m *Node_Settings) Reset()
- func (m *Node_Settings) Size() (n int)
- func (m *Node_Settings) String() string
- func (m *Node_Settings) Unmarshal(dAtA []byte) error
- func (m *Node_Settings) XXX_DiscardUnknown()
- func (m *Node_Settings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node_Settings) XXX_Merge(src proto.Message)
- func (*Node_Settings) XXX_MessageName() string
- func (m *Node_Settings) XXX_Size() int
- func (m *Node_Settings) XXX_Unmarshal(b []byte) error
- type StorageStat
- func (*StorageStat) Descriptor() ([]byte, []int)
- func (m *StorageStat) GetHostStats() StorageStat_Host
- func (m *StorageStat) GetRenterStats() StorageStat_Renter
- func (m *StorageStat) Marshal() (dAtA []byte, err error)
- func (m *StorageStat) MarshalTo(dAtA []byte) (int, error)
- func (m *StorageStat) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StorageStat) ProtoMessage()
- func (m *StorageStat) Reset()
- func (m *StorageStat) Size() (n int)
- func (m *StorageStat) String() string
- func (m *StorageStat) Unmarshal(dAtA []byte) error
- func (m *StorageStat) XXX_DiscardUnknown()
- func (m *StorageStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StorageStat) XXX_Merge(src proto.Message)
- func (*StorageStat) XXX_MessageName() string
- func (m *StorageStat) XXX_Size() int
- func (m *StorageStat) XXX_Unmarshal(b []byte) error
- type StorageStat_Host
- func (*StorageStat_Host) Descriptor() ([]byte, []int)
- func (m *StorageStat_Host) GetOnline() bool
- func (m *StorageStat_Host) GetScore() float32
- func (m *StorageStat_Host) GetStorageCap() int64
- func (m *StorageStat_Host) GetStorageUsed() int64
- func (m *StorageStat_Host) GetUptime() float32
- func (m *StorageStat_Host) Marshal() (dAtA []byte, err error)
- func (m *StorageStat_Host) MarshalTo(dAtA []byte) (int, error)
- func (m *StorageStat_Host) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StorageStat_Host) ProtoMessage()
- func (m *StorageStat_Host) Reset()
- func (m *StorageStat_Host) Size() (n int)
- func (m *StorageStat_Host) String() string
- func (m *StorageStat_Host) Unmarshal(dAtA []byte) error
- func (m *StorageStat_Host) XXX_DiscardUnknown()
- func (m *StorageStat_Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StorageStat_Host) XXX_Merge(src proto.Message)
- func (*StorageStat_Host) XXX_MessageName() string
- func (m *StorageStat_Host) XXX_Size() int
- func (m *StorageStat_Host) XXX_Unmarshal(b []byte) error
- type StorageStat_Renter
- func (*StorageStat_Renter) Descriptor() ([]byte, []int)
- func (m *StorageStat_Renter) GetReserved() string
- func (m *StorageStat_Renter) Marshal() (dAtA []byte, err error)
- func (m *StorageStat_Renter) MarshalTo(dAtA []byte) (int, error)
- func (m *StorageStat_Renter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StorageStat_Renter) ProtoMessage()
- func (m *StorageStat_Renter) Reset()
- func (m *StorageStat_Renter) Size() (n int)
- func (m *StorageStat_Renter) String() string
- func (m *StorageStat_Renter) Unmarshal(dAtA []byte) error
- func (m *StorageStat_Renter) XXX_DiscardUnknown()
- func (m *StorageStat_Renter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StorageStat_Renter) XXX_Merge(src proto.Message)
- func (*StorageStat_Renter) XXX_MessageName() string
- func (m *StorageStat_Renter) XXX_Size() int
- func (m *StorageStat_Renter) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthNode = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowNode = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupNode = fmt.Errorf("proto: unexpected end of group") )
View Source
var ContractStat_Role_name = map[int32]string{
0: "HOST",
1: "RENTER",
2: "RESERVED",
}
View Source
var ContractStat_Role_value = map[string]int32{
"HOST": 0,
"RENTER": 1,
"RESERVED": 2,
}
Functions ¶
This section is empty.
Types ¶
type ContractStat ¶ added in v0.2.21
type ContractStat struct { ActiveContractNum int64 `` /* 130-byte string literal not displayed */ CompensationPaid int64 `protobuf:"varint,2,opt,name=compensation_paid,json=compensationPaid,proto3" json:"compensation_paid" pg:"compensation_paid"` CompensationOutstanding int64 `` /* 151-byte string literal not displayed */ FirstContractStart time.Time `` /* 141-byte string literal not displayed */ LastContractEnd time.Time `` /* 129-byte string literal not displayed */ Role ContractStat_Role `protobuf:"varint,6,opt,name=role,proto3,enum=node.ContractStat_Role" json:"role" pg:"role"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedContractStat ¶ added in v0.2.21
func NewPopulatedContractStat(r randyNode, easy bool) *ContractStat
func (*ContractStat) Descriptor ¶ added in v0.2.21
func (*ContractStat) Descriptor() ([]byte, []int)
func (*ContractStat) GetActiveContractNum ¶ added in v0.2.21
func (m *ContractStat) GetActiveContractNum() int64
func (*ContractStat) GetCompensationOutstanding ¶ added in v0.2.21
func (m *ContractStat) GetCompensationOutstanding() int64
func (*ContractStat) GetCompensationPaid ¶ added in v0.2.21
func (m *ContractStat) GetCompensationPaid() int64
func (*ContractStat) GetFirstContractStart ¶ added in v0.2.21
func (m *ContractStat) GetFirstContractStart() time.Time
func (*ContractStat) GetLastContractEnd ¶ added in v0.2.21
func (m *ContractStat) GetLastContractEnd() time.Time
func (*ContractStat) GetRole ¶ added in v0.2.21
func (m *ContractStat) GetRole() ContractStat_Role
func (*ContractStat) Marshal ¶ added in v0.2.21
func (m *ContractStat) Marshal() (dAtA []byte, err error)
func (*ContractStat) MarshalTo ¶ added in v0.2.21
func (m *ContractStat) MarshalTo(dAtA []byte) (int, error)
func (*ContractStat) MarshalToSizedBuffer ¶ added in v0.2.21
func (m *ContractStat) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractStat) ProtoMessage ¶ added in v0.2.21
func (*ContractStat) ProtoMessage()
func (*ContractStat) Reset ¶ added in v0.2.21
func (m *ContractStat) Reset()
func (*ContractStat) Size ¶ added in v0.2.21
func (m *ContractStat) Size() (n int)
func (*ContractStat) String ¶ added in v0.2.21
func (m *ContractStat) String() string
func (*ContractStat) Unmarshal ¶ added in v0.2.21
func (m *ContractStat) Unmarshal(dAtA []byte) error
func (*ContractStat) XXX_DiscardUnknown ¶ added in v0.2.21
func (m *ContractStat) XXX_DiscardUnknown()
func (*ContractStat) XXX_Marshal ¶ added in v0.2.21
func (m *ContractStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractStat) XXX_Merge ¶ added in v0.2.21
func (m *ContractStat) XXX_Merge(src proto.Message)
func (*ContractStat) XXX_MessageName ¶ added in v0.2.21
func (*ContractStat) XXX_MessageName() string
func (*ContractStat) XXX_Size ¶ added in v0.2.21
func (m *ContractStat) XXX_Size() int
func (*ContractStat) XXX_Unmarshal ¶ added in v0.2.21
func (m *ContractStat) XXX_Unmarshal(b []byte) error
type ContractStat_Role ¶ added in v0.2.21
type ContractStat_Role int32
const ( ContractStat_HOST ContractStat_Role = 0 ContractStat_RENTER ContractStat_Role = 1 ContractStat_RESERVED ContractStat_Role = 2 )
func (ContractStat_Role) EnumDescriptor ¶ added in v0.2.21
func (ContractStat_Role) EnumDescriptor() ([]byte, []int)
func (ContractStat_Role) String ¶ added in v0.2.21
func (x ContractStat_Role) String() string
type Contracts ¶ added in v0.2.21
type Contracts struct { Contracts []*Contracts_Contract `protobuf:"bytes,1,rep,name=contracts,proto3" json:"contracts" pg:"contracts"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedContracts ¶ added in v0.2.21
func (*Contracts) Descriptor ¶ added in v0.2.21
func (*Contracts) GetContracts ¶ added in v0.2.21
func (m *Contracts) GetContracts() []*Contracts_Contract
func (*Contracts) MarshalToSizedBuffer ¶ added in v0.2.21
func (*Contracts) ProtoMessage ¶ added in v0.2.21
func (*Contracts) ProtoMessage()
func (*Contracts) XXX_DiscardUnknown ¶ added in v0.2.21
func (m *Contracts) XXX_DiscardUnknown()
func (*Contracts) XXX_Marshal ¶ added in v0.2.21
func (*Contracts) XXX_MessageName ¶ added in v0.2.21
func (*Contracts) XXX_Unmarshal ¶ added in v0.2.21
type Contracts_Contract ¶ added in v0.2.21
type Contracts_Contract struct { ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id" pg:"contract_id"` HostId string `protobuf:"bytes,2,opt,name=host_id,json=hostId,proto3" json:"host_id" pg:"host_id"` RenterId string `protobuf:"bytes,3,opt,name=renter_id,json=renterId,proto3" json:"renter_id" pg:"renter_id"` Status guard.Contract_ContractState `protobuf:"varint,4,opt,name=status,proto3,enum=guard.Contract_ContractState" json:"status" pg:"status"` StartTime time.Time `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time" pg:"start_time"` EndTime time.Time `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time" pg:"end_time"` NextEscrowTime time.Time `protobuf:"bytes,7,opt,name=next_escrow_time,json=nextEscrowTime,proto3,stdtime" json:"next_escrow_time" pg:"next_escrow_time"` CompensationPaid int64 `protobuf:"varint,8,opt,name=compensation_paid,json=compensationPaid,proto3" json:"compensation_paid" pg:"compensation_paid"` CompensationOutstanding int64 `` /* 151-byte string literal not displayed */ UnitPrice int64 `protobuf:"varint,10,opt,name=unit_price,json=unitPrice,proto3" json:"unit_price" pg:"unit_price"` ShardSize int64 `protobuf:"varint,11,opt,name=shard_size,json=shardSize,proto3" json:"shard_size" pg:"shard_size"` ShardHash string `protobuf:"bytes,12,opt,name=shard_hash,json=shardHash,proto3" json:"shard_hash" pg:"shard_hash"` FileHash string `protobuf:"bytes,13,opt,name=file_hash,json=fileHash,proto3" json:"file_hash" pg:"file_hash"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedContracts_Contract ¶ added in v0.2.21
func NewPopulatedContracts_Contract(r randyNode, easy bool) *Contracts_Contract
func (*Contracts_Contract) Descriptor ¶ added in v0.2.21
func (*Contracts_Contract) Descriptor() ([]byte, []int)
func (*Contracts_Contract) GetCompensationOutstanding ¶ added in v0.2.21
func (m *Contracts_Contract) GetCompensationOutstanding() int64
func (*Contracts_Contract) GetCompensationPaid ¶ added in v0.2.21
func (m *Contracts_Contract) GetCompensationPaid() int64
func (*Contracts_Contract) GetContractId ¶ added in v0.2.21
func (m *Contracts_Contract) GetContractId() string
func (*Contracts_Contract) GetEndTime ¶ added in v0.2.21
func (m *Contracts_Contract) GetEndTime() time.Time
func (*Contracts_Contract) GetFileHash ¶ added in v0.2.21
func (m *Contracts_Contract) GetFileHash() string
func (*Contracts_Contract) GetHostId ¶ added in v0.2.21
func (m *Contracts_Contract) GetHostId() string
func (*Contracts_Contract) GetNextEscrowTime ¶ added in v0.2.21
func (m *Contracts_Contract) GetNextEscrowTime() time.Time
func (*Contracts_Contract) GetRenterId ¶ added in v0.2.21
func (m *Contracts_Contract) GetRenterId() string
func (*Contracts_Contract) GetShardHash ¶ added in v0.2.21
func (m *Contracts_Contract) GetShardHash() string
func (*Contracts_Contract) GetShardSize ¶ added in v0.2.21
func (m *Contracts_Contract) GetShardSize() int64
func (*Contracts_Contract) GetStartTime ¶ added in v0.2.21
func (m *Contracts_Contract) GetStartTime() time.Time
func (*Contracts_Contract) GetStatus ¶ added in v0.2.21
func (m *Contracts_Contract) GetStatus() guard.Contract_ContractState
func (*Contracts_Contract) GetUnitPrice ¶ added in v0.2.21
func (m *Contracts_Contract) GetUnitPrice() int64
func (*Contracts_Contract) Marshal ¶ added in v0.2.21
func (m *Contracts_Contract) Marshal() (dAtA []byte, err error)
func (*Contracts_Contract) MarshalTo ¶ added in v0.2.21
func (m *Contracts_Contract) MarshalTo(dAtA []byte) (int, error)
func (*Contracts_Contract) MarshalToSizedBuffer ¶ added in v0.2.21
func (m *Contracts_Contract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Contracts_Contract) ProtoMessage ¶ added in v0.2.21
func (*Contracts_Contract) ProtoMessage()
func (*Contracts_Contract) Reset ¶ added in v0.2.21
func (m *Contracts_Contract) Reset()
func (*Contracts_Contract) Size ¶ added in v0.2.21
func (m *Contracts_Contract) Size() (n int)
func (*Contracts_Contract) String ¶ added in v0.2.21
func (m *Contracts_Contract) String() string
func (*Contracts_Contract) Unmarshal ¶ added in v0.2.21
func (m *Contracts_Contract) Unmarshal(dAtA []byte) error
func (*Contracts_Contract) XXX_DiscardUnknown ¶ added in v0.2.21
func (m *Contracts_Contract) XXX_DiscardUnknown()
func (*Contracts_Contract) XXX_Marshal ¶ added in v0.2.21
func (m *Contracts_Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Contracts_Contract) XXX_Merge ¶ added in v0.2.21
func (m *Contracts_Contract) XXX_Merge(src proto.Message)
func (*Contracts_Contract) XXX_MessageName ¶ added in v0.2.21
func (*Contracts_Contract) XXX_MessageName() string
func (*Contracts_Contract) XXX_Size ¶ added in v0.2.21
func (m *Contracts_Contract) XXX_Size() int
func (*Contracts_Contract) XXX_Unmarshal ¶ added in v0.2.21
func (m *Contracts_Contract) XXX_Unmarshal(b []byte) error
type Node ¶
type Node struct { NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" pg:"node_id"` BtfsVersion string `protobuf:"bytes,3,opt,name=btfs_version,json=btfsVersion,proto3" json:"btfs_version,omitempty" pg:"btfs_version"` UpTime uint64 `protobuf:"varint,4,opt,name=up_time,json=upTime,proto3" json:"up_time,omitempty" pg:"up_time"` StorageUsed uint64 `protobuf:"varint,5,opt,name=storage_used,json=storageUsed,proto3" json:"storage_used,omitempty" pg:"storage_used"` StorageVolumeCap uint64 `` /* 136-byte string literal not displayed */ MemoryUsed uint64 `protobuf:"varint,7,opt,name=memory_used,json=memoryUsed,proto3" json:"memory_used,omitempty" pg:"memory_used"` CpuUsed float64 `protobuf:"fixed64,8,opt,name=cpu_used,json=cpuUsed,proto3" json:"cpu_used,omitempty" pg:"cpu_used"` Upload uint64 `protobuf:"varint,9,opt,name=upload,proto3" json:"upload,omitempty" pg:"upload"` Download uint64 `protobuf:"varint,10,opt,name=download,proto3" json:"download,omitempty" pg:"download"` TotalUpload uint64 `protobuf:"varint,11,opt,name=total_upload,json=totalUpload,proto3" json:"total_upload,omitempty" pg:"total_upload"` TotalDownload uint64 `protobuf:"varint,12,opt,name=total_download,json=totalDownload,proto3" json:"total_download,omitempty" pg:"total_download"` StoragePriceDeal uint64 `` /* 137-byte string literal not displayed */ BandwidthPriceDeal uint64 `` /* 145-byte string literal not displayed */ Node_Settings `protobuf:"bytes,15,opt,name=settings,proto3,embedded=settings" json:"settings" pg:"settings"` Reputation float64 `protobuf:"fixed64,16,opt,name=reputation,proto3" json:"reputation,omitempty" pg:"reputation"` BlocksUp uint64 `protobuf:"varint,17,opt,name=blocks_up,json=blocksUp,proto3" json:"blocks_up,omitempty" pg:"blocks_up"` BlocksDown uint64 `protobuf:"varint,18,opt,name=blocks_down,json=blocksDown,proto3" json:"blocks_down,omitempty" pg:"blocks_down"` OsType string `protobuf:"bytes,19,opt,name=os_type,json=osType,proto3" json:"os_type,omitempty" pg:"os_type"` ArchType string `protobuf:"bytes,20,opt,name=arch_type,json=archType,proto3" json:"arch_type,omitempty" pg:"arch_type"` CpuInfo string `protobuf:"bytes,21,opt,name=cpu_info,json=cpuInfo,proto3" json:"cpu_info,omitempty" pg:"cpu_info"` PeersConnected uint64 `` /* 126-byte string literal not displayed */ TimeCreated time.Time `protobuf:"bytes,24,opt,name=time_created,json=timeCreated,proto3,stdtime" json:"time_created" pg:"time_created"` HVal string `protobuf:"bytes,25,opt,name=h_val,json=hVal,proto3" json:"h_val,omitempty" pg:"h_val"` Node_Geo `protobuf:"bytes,26,opt,name=geo,proto3,embedded=geo" json:"geo" pg:"geo"` Node_ExperimentalFlags `protobuf:"bytes,27,opt,name=flg,proto3,embedded=flg" json:"flg" pg:"flg"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` // contains filtered or unexported fields }
func NewPopulatedNode ¶ added in v0.1.1
func (*Node) Descriptor ¶
func (*Node) GetArchType ¶
func (*Node) GetBandwidthPriceDeal ¶
func (*Node) GetBlocksDown ¶
func (*Node) GetBlocksUp ¶
func (*Node) GetBtfsVersion ¶
func (*Node) GetCpuInfo ¶
func (*Node) GetCpuUsed ¶
func (*Node) GetDownload ¶
func (*Node) GetMemoryUsed ¶
func (*Node) GetPeersConnected ¶
func (*Node) GetReputation ¶
func (*Node) GetStoragePriceDeal ¶
func (*Node) GetStorageUsed ¶
func (*Node) GetStorageVolumeCap ¶
func (*Node) GetTimeCreated ¶
func (*Node) GetTotalDownload ¶
func (*Node) GetTotalUpload ¶
func (*Node) GettableName ¶ added in v0.1.1
func (*Node) MarshalToSizedBuffer ¶ added in v0.0.13
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_MessageName ¶ added in v0.0.13
func (*Node) XXX_Unmarshal ¶
type Node_ExperimentalFlags ¶ added in v0.2.5
type Node_ExperimentalFlags struct { Analytics bool `protobuf:"varint,1,opt,name=analytics,proto3" json:"analytics,omitempty" pg:"analytics"` FilestoreEnabled bool `` /* 133-byte string literal not displayed */ HostsSyncEnabled bool `` /* 136-byte string literal not displayed */ HostsSyncMode string `protobuf:"bytes,4,opt,name=hosts_sync_mode,json=hostsSyncMode,proto3" json:"hosts_sync_mode,omitempty" pg:"hosts_sync_mode"` Libp2PStreamMounting bool `` /* 152-byte string literal not displayed */ P2PHttpProxy bool `protobuf:"varint,6,opt,name=p2p_http_proxy,json=p2pHttpProxy,proto3" json:"p2p_http_proxy,omitempty" pg:"p2p_http_proxy"` PreferTls bool `protobuf:"varint,7,opt,name=prefer_tls,json=preferTls,proto3" json:"prefer_tls,omitempty" pg:"prefer_tls"` Quic bool `protobuf:"varint,8,opt,name=quic,proto3" json:"quic,omitempty" pg:"quic"` RemoveOnUnpin bool `protobuf:"varint,9,opt,name=remove_on_unpin,json=removeOnUnpin,proto3" json:"remove_on_unpin,omitempty" pg:"remove_on_unpin"` ShardingEnabled bool `` /* 130-byte string literal not displayed */ StorageClientEnabled bool `` /* 153-byte string literal not displayed */ StorageHostEnabled bool `` /* 145-byte string literal not displayed */ StrategicProviding bool `` /* 142-byte string literal not displayed */ UrlStoreEnabled bool `` /* 133-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedNode_ExperimentalFlags ¶ added in v0.2.5
func NewPopulatedNode_ExperimentalFlags(r randyNode, easy bool) *Node_ExperimentalFlags
func (*Node_ExperimentalFlags) Descriptor ¶ added in v0.2.5
func (*Node_ExperimentalFlags) Descriptor() ([]byte, []int)
func (*Node_ExperimentalFlags) GetAnalytics ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetAnalytics() bool
func (*Node_ExperimentalFlags) GetFilestoreEnabled ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetFilestoreEnabled() bool
func (*Node_ExperimentalFlags) GetHostsSyncEnabled ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetHostsSyncEnabled() bool
func (*Node_ExperimentalFlags) GetHostsSyncMode ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetHostsSyncMode() string
func (*Node_ExperimentalFlags) GetLibp2PStreamMounting ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetLibp2PStreamMounting() bool
func (*Node_ExperimentalFlags) GetP2PHttpProxy ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetP2PHttpProxy() bool
func (*Node_ExperimentalFlags) GetPreferTls ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetPreferTls() bool
func (*Node_ExperimentalFlags) GetQuic ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetQuic() bool
func (*Node_ExperimentalFlags) GetRemoveOnUnpin ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetRemoveOnUnpin() bool
func (*Node_ExperimentalFlags) GetShardingEnabled ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetShardingEnabled() bool
func (*Node_ExperimentalFlags) GetStorageClientEnabled ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetStorageClientEnabled() bool
func (*Node_ExperimentalFlags) GetStorageHostEnabled ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetStorageHostEnabled() bool
func (*Node_ExperimentalFlags) GetStrategicProviding ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetStrategicProviding() bool
func (*Node_ExperimentalFlags) GetUrlStoreEnabled ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) GetUrlStoreEnabled() bool
func (*Node_ExperimentalFlags) Marshal ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) Marshal() (dAtA []byte, err error)
func (*Node_ExperimentalFlags) MarshalTo ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) MarshalTo(dAtA []byte) (int, error)
func (*Node_ExperimentalFlags) MarshalToSizedBuffer ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Node_ExperimentalFlags) ProtoMessage ¶ added in v0.2.5
func (*Node_ExperimentalFlags) ProtoMessage()
func (*Node_ExperimentalFlags) Reset ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) Reset()
func (*Node_ExperimentalFlags) Size ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) Size() (n int)
func (*Node_ExperimentalFlags) String ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) String() string
func (*Node_ExperimentalFlags) Unmarshal ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) Unmarshal(dAtA []byte) error
func (*Node_ExperimentalFlags) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) XXX_DiscardUnknown()
func (*Node_ExperimentalFlags) XXX_Marshal ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Node_ExperimentalFlags) XXX_Merge ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) XXX_Merge(src proto.Message)
func (*Node_ExperimentalFlags) XXX_MessageName ¶ added in v0.2.5
func (*Node_ExperimentalFlags) XXX_MessageName() string
func (*Node_ExperimentalFlags) XXX_Size ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) XXX_Size() int
func (*Node_ExperimentalFlags) XXX_Unmarshal ¶ added in v0.2.5
func (m *Node_ExperimentalFlags) XXX_Unmarshal(b []byte) error
type Node_Geo ¶ added in v0.1.12
type Node_Geo struct { CountryShort string `protobuf:"bytes,1,opt,name=country_short,json=countryShort,proto3" json:"country_short,omitempty" pg:"country_short"` Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty" pg:"region"` Latitude float32 `protobuf:"fixed32,3,opt,name=latitude,proto3" json:"latitude,omitempty" pg:"latitude"` Longitude float32 `protobuf:"fixed32,4,opt,name=longitude,proto3" json:"longitude,omitempty" pg:"longitude"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedNode_Geo ¶ added in v0.1.12
func (*Node_Geo) Descriptor ¶ added in v0.1.12
func (*Node_Geo) GetCountryShort ¶ added in v0.1.12
func (*Node_Geo) GetLatitude ¶ added in v0.1.12
func (*Node_Geo) GetLongitude ¶ added in v0.1.12
func (*Node_Geo) MarshalToSizedBuffer ¶ added in v0.1.12
func (*Node_Geo) ProtoMessage ¶ added in v0.1.12
func (*Node_Geo) ProtoMessage()
func (*Node_Geo) XXX_DiscardUnknown ¶ added in v0.1.12
func (m *Node_Geo) XXX_DiscardUnknown()
func (*Node_Geo) XXX_Marshal ¶ added in v0.1.12
func (*Node_Geo) XXX_MessageName ¶ added in v0.1.12
func (*Node_Geo) XXX_Unmarshal ¶ added in v0.1.12
type Node_Settings ¶
type Node_Settings struct { StoragePriceAsk uint64 `` /* 132-byte string literal not displayed */ BandwidthPriceAsk uint64 `` /* 140-byte string literal not displayed */ StorageTimeMin uint64 `` /* 128-byte string literal not displayed */ BandwidthLimit float64 `` /* 126-byte string literal not displayed */ CollateralStake uint64 `` /* 129-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedNode_Settings ¶ added in v0.1.1
func NewPopulatedNode_Settings(r randyNode, easy bool) *Node_Settings
func (*Node_Settings) Descriptor ¶
func (*Node_Settings) Descriptor() ([]byte, []int)
func (*Node_Settings) GetBandwidthLimit ¶
func (m *Node_Settings) GetBandwidthLimit() float64
func (*Node_Settings) GetBandwidthPriceAsk ¶
func (m *Node_Settings) GetBandwidthPriceAsk() uint64
func (*Node_Settings) GetCollateralStake ¶
func (m *Node_Settings) GetCollateralStake() uint64
func (*Node_Settings) GetStoragePriceAsk ¶
func (m *Node_Settings) GetStoragePriceAsk() uint64
func (*Node_Settings) GetStorageTimeMin ¶
func (m *Node_Settings) GetStorageTimeMin() uint64
func (*Node_Settings) Marshal ¶ added in v0.0.13
func (m *Node_Settings) Marshal() (dAtA []byte, err error)
func (*Node_Settings) MarshalTo ¶ added in v0.0.13
func (m *Node_Settings) MarshalTo(dAtA []byte) (int, error)
func (*Node_Settings) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *Node_Settings) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Node_Settings) ProtoMessage ¶
func (*Node_Settings) ProtoMessage()
func (*Node_Settings) Reset ¶
func (m *Node_Settings) Reset()
func (*Node_Settings) Size ¶ added in v0.0.13
func (m *Node_Settings) Size() (n int)
func (*Node_Settings) String ¶
func (m *Node_Settings) String() string
func (*Node_Settings) Unmarshal ¶ added in v0.0.13
func (m *Node_Settings) Unmarshal(dAtA []byte) error
func (*Node_Settings) XXX_DiscardUnknown ¶
func (m *Node_Settings) XXX_DiscardUnknown()
func (*Node_Settings) XXX_Marshal ¶
func (m *Node_Settings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Node_Settings) XXX_Merge ¶
func (m *Node_Settings) XXX_Merge(src proto.Message)
func (*Node_Settings) XXX_MessageName ¶ added in v0.0.13
func (*Node_Settings) XXX_MessageName() string
func (*Node_Settings) XXX_Size ¶
func (m *Node_Settings) XXX_Size() int
func (*Node_Settings) XXX_Unmarshal ¶
func (m *Node_Settings) XXX_Unmarshal(b []byte) error
type StorageStat ¶ added in v0.2.21
type StorageStat struct { HostStats StorageStat_Host `protobuf:"bytes,1,opt,name=host_stats,json=hostStats,proto3" json:"host_stats" pg:"host_stats"` RenterStats StorageStat_Renter `protobuf:"bytes,2,opt,name=renter_stats,json=renterStats,proto3" json:"renter_stats" pg:"renter_stats"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedStorageStat ¶ added in v0.2.21
func NewPopulatedStorageStat(r randyNode, easy bool) *StorageStat
func (*StorageStat) Descriptor ¶ added in v0.2.21
func (*StorageStat) Descriptor() ([]byte, []int)
func (*StorageStat) GetHostStats ¶ added in v0.2.21
func (m *StorageStat) GetHostStats() StorageStat_Host
func (*StorageStat) GetRenterStats ¶ added in v0.2.21
func (m *StorageStat) GetRenterStats() StorageStat_Renter
func (*StorageStat) Marshal ¶ added in v0.2.21
func (m *StorageStat) Marshal() (dAtA []byte, err error)
func (*StorageStat) MarshalTo ¶ added in v0.2.21
func (m *StorageStat) MarshalTo(dAtA []byte) (int, error)
func (*StorageStat) MarshalToSizedBuffer ¶ added in v0.2.21
func (m *StorageStat) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StorageStat) ProtoMessage ¶ added in v0.2.21
func (*StorageStat) ProtoMessage()
func (*StorageStat) Reset ¶ added in v0.2.21
func (m *StorageStat) Reset()
func (*StorageStat) Size ¶ added in v0.2.21
func (m *StorageStat) Size() (n int)
func (*StorageStat) String ¶ added in v0.2.21
func (m *StorageStat) String() string
func (*StorageStat) Unmarshal ¶ added in v0.2.21
func (m *StorageStat) Unmarshal(dAtA []byte) error
func (*StorageStat) XXX_DiscardUnknown ¶ added in v0.2.21
func (m *StorageStat) XXX_DiscardUnknown()
func (*StorageStat) XXX_Marshal ¶ added in v0.2.21
func (m *StorageStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageStat) XXX_Merge ¶ added in v0.2.21
func (m *StorageStat) XXX_Merge(src proto.Message)
func (*StorageStat) XXX_MessageName ¶ added in v0.2.21
func (*StorageStat) XXX_MessageName() string
func (*StorageStat) XXX_Size ¶ added in v0.2.21
func (m *StorageStat) XXX_Size() int
func (*StorageStat) XXX_Unmarshal ¶ added in v0.2.21
func (m *StorageStat) XXX_Unmarshal(b []byte) error
type StorageStat_Host ¶ added in v0.2.21
type StorageStat_Host struct { Online bool `protobuf:"varint,1,opt,name=online,proto3" json:"online" pg:"online"` Uptime float32 `protobuf:"fixed32,2,opt,name=uptime,proto3" json:"uptime" pg:"uptime"` Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score" pg:"score"` StorageUsed int64 `protobuf:"varint,4,opt,name=storage_used,json=storageUsed,proto3" json:"storage_used" pg:"storage_used"` StorageCap int64 `protobuf:"varint,5,opt,name=storage_cap,json=storageCap,proto3" json:"storage_cap" pg:"storage_cap"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedStorageStat_Host ¶ added in v0.2.21
func NewPopulatedStorageStat_Host(r randyNode, easy bool) *StorageStat_Host
func (*StorageStat_Host) Descriptor ¶ added in v0.2.21
func (*StorageStat_Host) Descriptor() ([]byte, []int)
func (*StorageStat_Host) GetOnline ¶ added in v0.2.21
func (m *StorageStat_Host) GetOnline() bool
func (*StorageStat_Host) GetScore ¶ added in v0.2.21
func (m *StorageStat_Host) GetScore() float32
func (*StorageStat_Host) GetStorageCap ¶ added in v0.2.21
func (m *StorageStat_Host) GetStorageCap() int64
func (*StorageStat_Host) GetStorageUsed ¶ added in v0.2.21
func (m *StorageStat_Host) GetStorageUsed() int64
func (*StorageStat_Host) GetUptime ¶ added in v0.2.21
func (m *StorageStat_Host) GetUptime() float32
func (*StorageStat_Host) Marshal ¶ added in v0.2.21
func (m *StorageStat_Host) Marshal() (dAtA []byte, err error)
func (*StorageStat_Host) MarshalTo ¶ added in v0.2.21
func (m *StorageStat_Host) MarshalTo(dAtA []byte) (int, error)
func (*StorageStat_Host) MarshalToSizedBuffer ¶ added in v0.2.21
func (m *StorageStat_Host) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StorageStat_Host) ProtoMessage ¶ added in v0.2.21
func (*StorageStat_Host) ProtoMessage()
func (*StorageStat_Host) Reset ¶ added in v0.2.21
func (m *StorageStat_Host) Reset()
func (*StorageStat_Host) Size ¶ added in v0.2.21
func (m *StorageStat_Host) Size() (n int)
func (*StorageStat_Host) String ¶ added in v0.2.21
func (m *StorageStat_Host) String() string
func (*StorageStat_Host) Unmarshal ¶ added in v0.2.21
func (m *StorageStat_Host) Unmarshal(dAtA []byte) error
func (*StorageStat_Host) XXX_DiscardUnknown ¶ added in v0.2.21
func (m *StorageStat_Host) XXX_DiscardUnknown()
func (*StorageStat_Host) XXX_Marshal ¶ added in v0.2.21
func (m *StorageStat_Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageStat_Host) XXX_Merge ¶ added in v0.2.21
func (m *StorageStat_Host) XXX_Merge(src proto.Message)
func (*StorageStat_Host) XXX_MessageName ¶ added in v0.2.21
func (*StorageStat_Host) XXX_MessageName() string
func (*StorageStat_Host) XXX_Size ¶ added in v0.2.21
func (m *StorageStat_Host) XXX_Size() int
func (*StorageStat_Host) XXX_Unmarshal ¶ added in v0.2.21
func (m *StorageStat_Host) XXX_Unmarshal(b []byte) error
type StorageStat_Renter ¶ added in v0.2.21
type StorageStat_Renter struct { Reserved string `protobuf:"bytes,1,opt,name=reserved,proto3" json:"reserved" pg:"reserved"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func NewPopulatedStorageStat_Renter ¶ added in v0.2.21
func NewPopulatedStorageStat_Renter(r randyNode, easy bool) *StorageStat_Renter
func (*StorageStat_Renter) Descriptor ¶ added in v0.2.21
func (*StorageStat_Renter) Descriptor() ([]byte, []int)
func (*StorageStat_Renter) GetReserved ¶ added in v0.2.21
func (m *StorageStat_Renter) GetReserved() string
func (*StorageStat_Renter) Marshal ¶ added in v0.2.21
func (m *StorageStat_Renter) Marshal() (dAtA []byte, err error)
func (*StorageStat_Renter) MarshalTo ¶ added in v0.2.21
func (m *StorageStat_Renter) MarshalTo(dAtA []byte) (int, error)
func (*StorageStat_Renter) MarshalToSizedBuffer ¶ added in v0.2.21
func (m *StorageStat_Renter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StorageStat_Renter) ProtoMessage ¶ added in v0.2.21
func (*StorageStat_Renter) ProtoMessage()
func (*StorageStat_Renter) Reset ¶ added in v0.2.21
func (m *StorageStat_Renter) Reset()
func (*StorageStat_Renter) Size ¶ added in v0.2.21
func (m *StorageStat_Renter) Size() (n int)
func (*StorageStat_Renter) String ¶ added in v0.2.21
func (m *StorageStat_Renter) String() string
func (*StorageStat_Renter) Unmarshal ¶ added in v0.2.21
func (m *StorageStat_Renter) Unmarshal(dAtA []byte) error
func (*StorageStat_Renter) XXX_DiscardUnknown ¶ added in v0.2.21
func (m *StorageStat_Renter) XXX_DiscardUnknown()
func (*StorageStat_Renter) XXX_Marshal ¶ added in v0.2.21
func (m *StorageStat_Renter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageStat_Renter) XXX_Merge ¶ added in v0.2.21
func (m *StorageStat_Renter) XXX_Merge(src proto.Message)
func (*StorageStat_Renter) XXX_MessageName ¶ added in v0.2.21
func (*StorageStat_Renter) XXX_MessageName() string
func (*StorageStat_Renter) XXX_Size ¶ added in v0.2.21
func (m *StorageStat_Renter) XXX_Size() int
func (*StorageStat_Renter) XXX_Unmarshal ¶ added in v0.2.21
func (m *StorageStat_Renter) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.