18 lines
408 B
Go
18 lines
408 B
Go
package variables
|
|
|
|
import "time"
|
|
|
|
// context timeout
|
|
const (
|
|
ContextTimeoutShort = 10 * time.Second
|
|
ContextTimeoutBase = 15 * time.Second
|
|
ContextTimeoutLong = 30 * time.Second
|
|
)
|
|
|
|
// Константы для нового API-прокси
|
|
const (
|
|
ProxyForwardURL = "https://proxyservice.ddns.net/forward"
|
|
ProxySecretHeader = "X-Proxy-Secret"
|
|
ProxySecretKey = "9cb0a2655bde593de45b2f3fd17f39e5"
|
|
)
|