summaryrefslogtreecommitdiff
path: root/branding/config.go.tmpl
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-06-28 17:01:41 +0200
committerRuben Pollan <meskio@sindominio.net>2019-08-05 11:45:55 -0400
commit5d65d89e01105bc1b37995175cd9336ea2c737e0 (patch)
treeb2ce2d150a7cd5cc9467f18e0039b0889846793d /branding/config.go.tmpl
parent2160bb2351cd66639b50ff13764bb7b1442533bb (diff)
[feat] add vendorize script to generate config
Diffstat (limited to 'branding/config.go.tmpl')
-rw-r--r--branding/config.go.tmpl32
1 files changed, 32 insertions, 0 deletions
diff --git a/branding/config.go.tmpl b/branding/config.go.tmpl
new file mode 100644
index 0000000..c3a9a33
--- /dev/null
+++ b/branding/config.go.tmpl
@@ -0,0 +1,32 @@
+/*
+ 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 = "$providerURL"
+ ApplicationName = "$applicationName"
+ BinaryName = "$binaryName"
+ DonateURL = "$donateURL"
+ HelpURL = "$helpURL"
+ TosURL = "$tosURL"
+ APIURL = "$apiURL"
+ GeolocationAPI = "$geolocationAPI"
+)
+
+/*
+
+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(`$caCertString`)