Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig struct { URL string `yaml:"url,omitempty"` //URL to our service endpoint set by the user RealURL *url.URL //RealURL to our service endpoint parsed from URL Debug bool `yaml:"debug_enabled,omitempty"` //true if Debug is enabled Oauth2Enabled bool `yaml:"oauth2_enabled,omitempty"` //true if oauth2 is enabled OauthURL string `yaml:"oauth2_url,omitempty"` //the oauth2 endpoint to be used TokenURL string `yaml:"token_url,omitempty"` //the oauth2 token info endpoint Username string `yaml:"username,omitempty"` //user to authenticate with, to get a token }
ClientConfig is the configuration from the client. Usually loaded from config files.
Click to show internal directories.
Click to hide internal directories.