Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version string GitCommit string GitBranch string )
These variables are populated at build time to find where the variables are...use go tool nm ./app | grep app REFERENCE: https://www.digitalocean.com/community/tutorials/using-ldflags-to-set-version-information-for-go-applications
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct { *oauth2.Config Issuer string RedirectUri string Address string Port string }
Configuration is a combination of the configuration needed to execute the example code; it contains configuratio nfor the web server and the Okta/OAuth configuration
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration can be used to create a new instance of Configuration with the internal pointers created
func (*Configuration) Default ¶
func (c *Configuration) Default()
Default will populate the internal pointers with default values
func (*Configuration) FromEnvs ¶
func (c *Configuration) FromEnvs(envs map[string]string)
FromEnvs will populate a set number of values within configuration from environmental variables
Click to show internal directories.
Click to hide internal directories.