Documentation ¶
Index ¶
Constants ¶
View Source
const ( ValueEnvLocal = "local" ValueEnvAlpha = "alpha" ValueEnvProd = "prod" )
View Source
const ( Google = "google" Facebook = "facebook" )
Variables ¶
View Source
var ( // client side error ErrInvalidRequest = errors.New("error, invalid request") ErrRequestTimeout = errors.New("error, request timeout") // server side error ErrInternalServer = errors.New("error, internal server error") ErrGoogleOAuthCallbackInternalError = errors.New("google authentication has an error") ErrGoogleOAuthCallbackEmailIsNotValid = errors.New("requested user's email is not valid") ErrRefreshTokenIsNotValid = errors.New("google oauth2: refresh_token is not loaded") ErrEmailIsNotVerified = errors.New("google oauth2: email is not verified") )
View Source
var OAPISpecYAML embed.FS
OAPISpecYAML is the Open API Specifications Manifest document that defines golive HTTP API.
View Source
var PublicUI embed.FS
PublicUI is the Open API Specifications Manifest document that defines golive HTTP API.
View Source
var StaticSwaggerUI embed.FS
StaticSwaggerUI is a collection of pre-built static files for swagger web ui.
Functions ¶
func HTTPErrorToStatusCode ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.