Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug bool
View Source
var (
ErrUnsupportedProtocol = errors.New("unsupported protocol")
)
Functions ¶
Types ¶
type HubInfo ¶
type HubInfo struct {
Name string `json:"name" xml:"Name,attr"`
Desc string `json:"desc,omitempty" xml:"Description,attr,omitempty"`
Addr []string `json:"addr,omitempty" xml:"Address,attr,omitempty"`
KeyPrints []string `json:"kp,omitempty" xml:"KP,attr,omitempty"`
Icon string `json:"icon,omitempty" xml:"Icon,attr,omitempty"`
Owner string `json:"owner,omitempty" xml:"Owner,attr,omitempty"`
Website string `json:"website,omitempty" xml:"Website,attr,omitempty"`
Email string `json:"email,omitempty" xml:"Email,attr,omitempty"`
Enc string `json:"encoding,omitempty" xml:"Encoding,attr,omitempty"`
Server *Software `json:"soft,omitempty" xml:"Software,omitempty"`
Uptime uint64 `json:"uptime,omitempty" xml:"Uptime,attr,omitempty"`
Users int `json:"users" xml:"Users,attr"`
Files uint64 `json:"files,omitempty" xml:"Files,attr,omitempty"`
Redirect string `json:"redirect,omitempty" xml:"Redirect,attr,omitempty"`
UserList []HubUser `json:"userlist,omitempty" xml:"User,attr,omitempty"`
}
type PingConfig ¶ added in v0.8.12
type PingConfig = adc.PingConfig
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
dcping
command
|
|
|
go-hub
command
|
|
|
dctor
module
|
|
|
plugins/tor
module
|
|
|
internal
|
|
Click to show internal directories.
Click to hide internal directories.