Documentation
¶
Index ¶
- func AccountProviderSelect(c echo.Context) error
- func Accounts(c echo.Context) error
- func CreateAccount(c echo.Context) error
- func DeleteAccount(c echo.Context) error
- func GetAccount(c echo.Context) error
- func Health(c echo.Context) error
- func NewServer() (*echo.Echo, error)
- func OauthCallback(c echo.Context) error
- func OauthStart(c echo.Context) error
- func UpdateAccount(c echo.Context) error
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 DeleteAccount ¶
func DeleteAccount(c echo.Context) error
DeleteAccount handles DELETE /accounts/:id
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.
Click to show internal directories.
Click to hide internal directories.