# Configuration #### Type: object Golang URL Shortener Configuration | Name | Type | Description | Example | | ------- | ------- | ----------- | ------- | | $schema | string | | | | [Handlers](#handlers) | object | Handlers holds the configuration for the handlers package | | | [Store](#store) | object | Store holds the configuration values for the storage package | | ***** ## Handlers #### Type: object __Handlers holds the configuration for the handlers package__ | Name | Type | Description | Example | | ------- | ------- | ----------- | ------- | | BaseURL | string | Required for the authentification via OAuth. E.g. 'http://mydomain.com' | | | EnableDebugMode | boolean | Activates more detailed logging to the stdout | | | ListenAddr | string | Consists of 'IP:Port', normally the value ':8080' e.g. is enough | | | [OAuth](#oauth) | object | OAuth holds the OAuth specific settings | | | Secret | string | Used for encryption of the JWT and for the CookieJar. Will be randomly generated when it isn't set | | ***** ## OAuth #### Type: object __OAuth holds the OAuth specific settings__ | Name | Type | Description | Example | | ------- | ------- | ----------- | ------- | | [Google](#google) | object | Google holds the OAuth configuration for the Google provider | | ***** ## Google #### Type: object __Google holds the OAuth configuration for the Google provider__ | Name | Type | Description | Example | | ------- | ------- | ----------- | ------- | | ClientID | string | ClientID which you get from console.cloud.google.com | | | ClientSecret | string | ClientSecret which get from console.cloud.google.com | | ***** ## Store #### Type: object __Store holds the configuration values for the storage package__ | Name | Type | Description | Example | | ------- | ------- | ----------- | ------- | | DBPath | string | relative or absolute path of your bolt DB | | | ShortedIDLength | integer | Length of the random generated ID which is used for new shortened URLs | | *****