package
2.0.0-a9+incompatible
Repository: https://github.com/memnix/memnix-rest.git
Documentation: pkg.go.dev

# Functions

GetCallbackURL gets the callback URL.
GetDiscordAccessToken gets the access token from Discord.
GetDiscordData gets the user data from Discord.
GetDiscordURL gets the Discord client ID.
GetFrontendURL gets the frontend URL.
GetGithubAccessToken gets the access token from Github using the code.
GetGithubClientID gets the Github client ID.
GetGithubData gets the user data from Github using the access token.
GetJSONHelperInstance gets the json helper instance.
InitDiscord initializes the Discord oauth configuration.
InitGithub initializes the Github oauth configuration.
SetOauthConfig sets the oauth configuration.

# Constants

RequestFailed is the error message when a request fails.
ResponseFailed is the error message when a response fails.

# Structs

No description provided by the author
No description provided by the author
GlobalConfig is the global configuration for oauth.
JSONHelperSingleton is a singleton for the json helper.