Added Service* constants.
This commit is contained in:
parent
fb38f13262
commit
7a1c984750
@ -6,6 +6,14 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
const (
|
||||
ServiceRadio = "radio"
|
||||
ServiceFiles = "files"
|
||||
ServiceUpload = "upload"
|
||||
ServiceGit = "git"
|
||||
ServiceHome = "home"
|
||||
)
|
||||
|
||||
// GetServiceByHost returns a service's URL depending on what type of network
|
||||
// is accessed (www, i2p, yggdrasil).
|
||||
func GetServiceByHost(host, service string) string {
|
||||
|
Loading…
Reference in New Issue
Block a user