Delete unused Port and ConnectPort from env/env.go
This commit is contained in:
parent
c127b19d5a
commit
5ae08d2ce7
5
env/env.go
vendored
5
env/env.go
vendored
|
@ -7,11 +7,6 @@ import (
|
||||||
"git.qowevisa.me/Qowevisa/gotell/errors"
|
"git.qowevisa.me/Qowevisa/gotell/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
|
||||||
Port = 2993
|
|
||||||
ConnectPort = 443
|
|
||||||
)
|
|
||||||
|
|
||||||
func GetHost() (string, error) {
|
func GetHost() (string, error) {
|
||||||
host := os.Getenv("GOTELL_HOST")
|
host := os.Getenv("GOTELL_HOST")
|
||||||
if host == "" {
|
if host == "" {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user