some changes ;]]]]]
This commit is contained in:
9
proxy/proxyClient.go
Normal file
9
proxy/proxyClient.go
Normal file
@ -0,0 +1,9 @@
|
||||
package proxy
|
||||
|
||||
var (
|
||||
Bearer string
|
||||
)
|
||||
|
||||
func SetUp(config ProxyConfig) {
|
||||
Bearer = config.ProxyToken
|
||||
}
|
6
proxy/proxyConfig.go
Normal file
6
proxy/proxyConfig.go
Normal file
@ -0,0 +1,6 @@
|
||||
package proxy
|
||||
|
||||
type ProxyConfig struct {
|
||||
ProjectOrigin string `env:"PROJECT_ORIGIN,required"`
|
||||
ProxyToken string `env:"PROXY_TOKEN,required"`
|
||||
}
|
Reference in New Issue
Block a user