config

package
v0.0.0-...-f30c324 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *sql.DB
View Source
var Redis *redis.Client

Functions

func ApiUrl

func ApiUrl() string

func Connect

func Connect()

func GithubOauth

func GithubOauth() oauth2.Config

func GoogleOauth

func GoogleOauth() oauth2.Config

func WebsiteUrl

func WebsiteUrl() string

Types

type GithubConfigType

type GithubConfigType struct {
	GithubLoginConfig oauth2.Config
}
var GithubConfig GithubConfigType

type GoogleConfigType

type GoogleConfigType struct {
	GoogleLoginConfig oauth2.Config
}
var GoogleConfig GoogleConfigType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL