Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Port string `json:"port"`
ClientId string `json:"clientId"`
ClientSecret string `json:"clientSecret"`
RedirectUri string `json:"redirectUri"`
IntuitAccountingAPIHost string `json:"intuitAccountingAPIHost"`
DiscoveryAPIHost string `json:"discoveryAPIHost"`
C2QBScope string `json:"c2qbScope"`
SIWIScope string `json:"siwiScope"`
GetAppNowScope string `json:"getAppNowScope"`
IntuitAuthorizationEndpoint string
}
structure for configs
var OAuthConfig Config = LoadConfiguration("config.json")
declare global variable and read from config
func LoadConfiguration ¶
* Method to load properties from config.json
Click to show internal directories.
Click to hide internal directories.