Documentation
¶
Index ¶
Constants ¶
View Source
const ( AppName = libConfig.AppName EnvName = libConfig.EnvName HTTPBindAddress = libHttp.HTTPBindAddress HTTPBindPort = libHttp.HTTPBindPort BaseURL = "base-url" CasbinModel = "casbin-model" CasbinPolicy = "casbin-policy" CookiesEnabled = "cookies-enabled" CookiesDomain = "cookies-domain" CSRFEnabled = "csrf-enabled" CSRFCookieDomain = "csrf-cookie-domain" CSRFCookieName = "csrf-cookie-name" CSRFHeaderName = "csrf-header-name" CSRFSecretKey = "csrf-secret-key" JWTAccessTokenCookieName = "jwt-access-token-cookie-name" JWTAccessTokenExpiry = "jwt-access-token-expiry" JWTIssuer = "jwt-issuer" JWTPrivateKey = "jwt-private-key" JWTRefreshTokenCookieName = "jwt-refresh-token-cookie-name" JWTRefreshTokenExpiry = "jwt-refresh-token-expiry" OAuth2Providers = "oauth2-providers" OAuth2GoogleClientId = "oauth2-google-client-id" OAuth2GoogleClientSecret = "oauth2-google-client-secret" OpenAPISchema = "openapi-schema" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Config *libConfig.Config HTTP *libHttp.Config Logging *libLog.Config MongoDB *libMongo.Config BaseURL string Casbin *Casbin Cookies *Cookies CSRF *CSRF JWT *JWT OAuth2 *OAuth2 OAuth2Google *OAuth2Google OpenAPI *OpenAPI }
Config holds all configuration for our program
type OAuth2Google ¶
Click to show internal directories.
Click to hide internal directories.