Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWebSocketClosed = errors.New("websocket closed")
Functions ¶
func GenRSA2048 ¶
func NewHostHeader ¶
Types ¶
type Stats ¶
type Stats struct { Downloaded uint64 DownloadSpeed uint64 Uploaded uint64 UploadSpeed uint64 // contains filtered or unexported fields }
todo better stats
func (*Stats) AddDownloaded ¶
func (*Stats) AddUploaded ¶
Click to show internal directories.
Click to hide internal directories.