web

package
v0.0.0-...-6774cfe Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountProviderSelect

func AccountProviderSelect(c echo.Context) error

AccountProviderSelect handles GET /accounts/new

func Accounts

func Accounts(c echo.Context) error

Accounts lists all OAuth accounts

func CreateAccount

func CreateAccount(c echo.Context) error

CreateAccount handles POST /accounts

func DeleteAccount

func DeleteAccount(c echo.Context) error

DeleteAccount handles DELETE /accounts/:id

func GetAccount

func GetAccount(c echo.Context) error

GetAccount handles GET /accounts/:id

func Health

func Health(c echo.Context) error

func NewServer

func NewServer() (*echo.Echo, error)

func OauthCallback

func OauthCallback(c echo.Context) error

OauthCallback handles the OAuth2 callback and saves token in SQLite via GORM

func OauthStart

func OauthStart(c echo.Context) error

OauthStart redirects user to the provider's OAuth2 consent screen

func UpdateAccount

func UpdateAccount(c echo.Context) error

UpdateAccount handles PUT /accounts/:id

Types

This section is empty.

Directories

Path Synopsis
views
pages
templ: version: v0.3.898
templ: version: v0.3.898
ui
templ: version: v0.3.898
templ: version: v0.3.898

Jump to

Keyboard shortcuts

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