Documentation
¶
Index ¶
- 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) GetMemoryUsed() uint64
- func (m *Node) GetNodeId() string
- func (m *Node) GetNodeIp() string
- func (m *Node) GetOsType() string
- func (m *Node) GetPeersConnected() uint64
- func (m *Node) GetReputation() float64
- func (m *Node) GetSettings() *Node_Settings
- func (m *Node) GetStoragePriceDeal() uint64
- func (m *Node) GetStorageUsed() uint64
- func (m *Node) GetStorageVolumeCap() uint64
- func (m *Node) GetTimeCreated() *timestamp.Timestamp
- func (m *Node) GetTotalDownload() uint64
- func (m *Node) GetTotalUpload() uint64
- func (m *Node) GetUpTime() uint64
- func (m *Node) GetUpload() uint64
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) String() string
- 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 (m *Node) XXX_Size() int
- func (m *Node) 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 (*Node_Settings) ProtoMessage()
- func (m *Node_Settings) Reset()
- func (m *Node_Settings) String() string
- 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 (m *Node_Settings) XXX_Size() int
- func (m *Node_Settings) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` BtfsVersion string `protobuf:"bytes,2,opt,name=btfs_version,json=btfsVersion,proto3" json:"btfs_version,omitempty"` UpTime uint64 `protobuf:"varint,3,opt,name=up_time,json=upTime,proto3" json:"up_time,omitempty"` StorageUsed uint64 `protobuf:"varint,4,opt,name=storage_used,json=storageUsed,proto3" json:"storage_used,omitempty"` StorageVolumeCap uint64 `protobuf:"varint,5,opt,name=storage_volume_cap,json=storageVolumeCap,proto3" json:"storage_volume_cap,omitempty"` MemoryUsed uint64 `protobuf:"varint,6,opt,name=memory_used,json=memoryUsed,proto3" json:"memory_used,omitempty"` CpuUsed float64 `protobuf:"fixed64,7,opt,name=cpu_used,json=cpuUsed,proto3" json:"cpu_used,omitempty"` Upload uint64 `protobuf:"varint,8,opt,name=upload,proto3" json:"upload,omitempty"` Download uint64 `protobuf:"varint,9,opt,name=download,proto3" json:"download,omitempty"` TotalUpload uint64 `protobuf:"varint,10,opt,name=total_upload,json=totalUpload,proto3" json:"total_upload,omitempty"` TotalDownload uint64 `protobuf:"varint,11,opt,name=total_download,json=totalDownload,proto3" json:"total_download,omitempty"` StoragePriceDeal uint64 `protobuf:"varint,12,opt,name=storage_price_deal,json=storagePriceDeal,proto3" json:"storage_price_deal,omitempty"` BandwidthPriceDeal uint64 `protobuf:"varint,13,opt,name=bandwidth_price_deal,json=bandwidthPriceDeal,proto3" json:"bandwidth_price_deal,omitempty"` Settings *Node_Settings `protobuf:"bytes,14,opt,name=settings,proto3" json:"settings,omitempty"` TimeCreated *timestamp.Timestamp `protobuf:"bytes,15,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"` Reputation float64 `protobuf:"fixed64,16,opt,name=reputation,proto3" json:"reputation,omitempty"` BlocksUp uint64 `protobuf:"varint,17,opt,name=blocks_up,json=blocksUp,proto3" json:"blocks_up,omitempty"` BlocksDown uint64 `protobuf:"varint,18,opt,name=blocks_down,json=blocksDown,proto3" json:"blocks_down,omitempty"` OsType string `protobuf:"bytes,19,opt,name=os_type,json=osType,proto3" json:"os_type,omitempty"` ArchType string `protobuf:"bytes,20,opt,name=arch_type,json=archType,proto3" json:"arch_type,omitempty"` CpuInfo string `protobuf:"bytes,21,opt,name=cpu_info,json=cpuInfo,proto3" json:"cpu_info,omitempty"` NodeIp string `protobuf:"bytes,22,opt,name=node_ip,json=nodeIp,proto3" json:"node_ip,omitempty"` PeersConnected uint64 `protobuf:"varint,23,opt,name=peers_connected,json=peersConnected,proto3" json:"peers_connected,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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) GetSettings ¶
func (m *Node) GetSettings() *Node_Settings
func (*Node) GetStoragePriceDeal ¶
func (*Node) GetStorageUsed ¶
func (*Node) GetStorageVolumeCap ¶
func (*Node) GetTimeCreated ¶
func (*Node) GetTotalDownload ¶
func (*Node) GetTotalUpload ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_Unmarshal ¶
type Node_Settings ¶
type Node_Settings struct { StoragePriceAsk uint64 `protobuf:"varint,1,opt,name=storage_price_ask,json=storagePriceAsk,proto3" json:"storage_price_ask,omitempty"` BandwidthPriceAsk uint64 `protobuf:"varint,2,opt,name=bandwidth_price_ask,json=bandwidthPriceAsk,proto3" json:"bandwidth_price_ask,omitempty"` StorageTimeMin uint64 `protobuf:"varint,3,opt,name=storage_time_min,json=storageTimeMin,proto3" json:"storage_time_min,omitempty"` BandwidthLimit float64 `protobuf:"fixed64,4,opt,name=bandwidth_limit,json=bandwidthLimit,proto3" json:"bandwidth_limit,omitempty"` CollateralStake uint64 `protobuf:"varint,5,opt,name=collateral_stake,json=collateralStake,proto3" json:"collateral_stake,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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) ProtoMessage ¶
func (*Node_Settings) ProtoMessage()
func (*Node_Settings) Reset ¶
func (m *Node_Settings) Reset()
func (*Node_Settings) String ¶
func (m *Node_Settings) String() string
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_Size ¶
func (m *Node_Settings) XXX_Size() int
func (*Node_Settings) XXX_Unmarshal ¶
func (m *Node_Settings) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.