api

package
v0.0.0-...-cf56ecf Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JWT_SECRET_KEY = []byte(os.Getenv("JWT_SECRET"))
View Source
var STRAVA_REMINDERS_JWT_KEY = "STRAVA_REMINDERS_JWT"

Functions

func Healthz

func Healthz(c echo.Context) error

func Login

func Login(c echo.Context, user goth.User) error

func Logout

func Logout(c echo.Context) error

func Validate

func Validate(c echo.Context) error

Types

type HealthCheckResponse

type HealthCheckResponse struct {
	Alive    bool   `json:"alive" xml:"alive"`
	Database string `json:"database" xml:"database"`
}

Jump to

Keyboard shortcuts

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