diff options
Diffstat (limited to 'pkg/config/config.go')
-rw-r--r-- | pkg/config/config.go | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/pkg/config/config.go b/pkg/config/config.go index fed3cc9..29f724a 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -1,16 +1,34 @@ +/* + DO NOT EDIT -------------------------------------------------- + + This file has been automatically generated by `go generate`. + Any changes will be overriden. + + DO NOT EDIT -------------------------------------------------- +*/ + package config +/* All these constants are defined in the vendor.conf file +*/ const ( + Provider = "riseup.net" ApplicationName = "RiseupVPN" BinaryName = "riseup-vpn" - Provider = "riseup.net" - DonateURL = "https://riseup.net/vpn/donate" - HelpURL = "https://riseup.net/vpn/support" + DonateURL = "https://riseup.net/donate" + HelpURL = "https://riseup.net/support" TosURL = "https://riseup.net/tos" APIURL = "https://api.black.riseup.net/" GeolocationAPI = "https://api.black.riseup.net:9001/json" ) +/* + +CaCert : a string containing a representation of the provider CA, used to + sign the webapp and openvpn certificates. should be placed in + config/[provider]/ca.crt + +*/ var CaCert = []byte(`-----BEGIN CERTIFICATE----- MIIFjTCCA3WgAwIBAgIBATANBgkqhkiG9w0BAQ0FADBZMRgwFgYDVQQKDA9SaXNl dXAgTmV0d29ya3MxGzAZBgNVBAsMEmh0dHBzOi8vcmlzZXVwLm5ldDEgMB4GA1UE |