routes

package
v0.0.0-...-f8e8671 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(username, password string, c echo.Context) (bool, error)

func SetupAWSCognitoRoute

func SetupAWSCognitoRoute(g *echo.Group)

func SetupLoginRoute

func SetupLoginRoute(g *echo.Group)

func SetupRoutes

func SetupRoutes(e *echo.Group, staticResources embed.FS)

SetupRoutes will setup all routes in systems. Sub routs will be manage details by setupXXX function

Types

type GetSecretRequest

type GetSecretRequest struct {
	Region string `json:"region"`
	Arn    string `json:"arn"`
}

type ListSecretRequest

type ListSecretRequest struct {
	Region string `json:"region"`
}

type UserLogin

type UserLogin struct {
	Username string `json:"username" form:"username"`
	Password string `json:"password" form:"password"`
}

Jump to

Keyboard shortcuts

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