Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bag ¶
type Bag struct {
BagID string `json:"bag_id"`
Description string `json:"description"`
Downloaded uint64 `json:"downloaded"`
Size uint64 `json:"size"`
Peers uint64 `json:"peers"`
DownloadSpeed uint64 `json:"download_speed"`
UploadSpeed uint64 `json:"upload_speed"`
FilesCount uint64 `json:"files_count"`
DirName string `json:"dir_name"`
Completed bool `json:"completed"`
HeaderLoaded bool `json:"header_loaded"`
InfoLoaded bool `json:"info_loaded"`
Active bool `json:"active"`
Seeding bool `json:"seeding"`
}
type BagDetailed ¶
type Credentials ¶
type ProofResponse ¶ added in v0.2.0
type ProofResponse struct {
Proof []byte `json:"proof"`
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) SetCredentials ¶
func (s *Server) SetCredentials(credentials *Credentials)
Click to show internal directories.
Click to hide internal directories.