impl trim
This commit is contained in:
@@ -41,6 +41,10 @@ func GetAuth() (string, string, bool) {
|
||||
return user, pass, user != "" && pass != ""
|
||||
}
|
||||
|
||||
func GetTrim() string {
|
||||
return conf.Get("trim").GetString()
|
||||
}
|
||||
|
||||
func GetPort() string {
|
||||
port := conf.Get("p").GetInt()
|
||||
return ":" + fmt.Sprint(port)
|
||||
|
||||
Reference in New Issue
Block a user