internal

package
v0.0.0-...-34a203c Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultEnv = NewEnv()
	NotFound   = errors.New("key not found")
)

Functions

func AuthenticateUserRequest

func AuthenticateUserRequest(
	w http.ResponseWriter,
	r *http.Request,
	gs sessions.Store,
	us *db.UserStore,
) error

func ClientCallbackURL

func ClientCallbackURL() string

func ClientDB

func ClientDB() string

func Debug

func Debug() bool

func SelfHosted

func SelfHosted() bool

func ServerCallbackURL

func ServerCallbackURL() string

func SetupGothic

func SetupGothic(callbackUrl string) error

Types

type Env

type Env struct{}

func NewEnv

func NewEnv() *Env

func (*Env) Get

func (e *Env) Get(key string) (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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