Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OptionalEnv ¶ added in v0.5.0
func RequireUrlEnv ¶ added in v0.5.0
func RequireUrlEnv(name string, purpose ConfigPurpose) url.URL
func RequiredEnv ¶ added in v0.5.0
func RequiredEnv(name string, purpose ConfigPurpose) string
Types ¶
type ConfigPurpose ¶
type ConfigPurpose int
var ConfigPurposeAny ConfigPurpose = 0
var ConfigPurposeClient ConfigPurpose = 1
var ConfigPurposeServer ConfigPurpose = 2
func GetConfigPurpose ¶
func GetConfigPurpose() ConfigPurpose
Click to show internal directories.
Click to hide internal directories.