Documentation
¶
Index ¶
- Constants
- func CreateJWT(username string) (error, string)
- func DeleteJWT(c echo.Context)
- func GetClaim(c echo.Context) string
- func LogOut(c echo.Context) error
- func Render(c echo.Context, component templ.Component) error
- func SetUpRoutes(app *echo.Echo, dbh *DbHandler)
- func ShowAbout(c echo.Context) error
- func ShowAccount(c echo.Context) error
- func ShowHome(c echo.Context) error
- func ShowSchedule(c echo.Context) error
- func ShowSignIn(c echo.Context) error
- func ShowSignUp(c echo.Context) error
- func ShowTTT(c echo.Context) error
- func UnAuthRedirect(next echo.HandlerFunc) echo.HandlerFunc
- type DbHandler
Constants ¶
View Source
const API_CALL string = "http://api.openweathermap.org/data/2.5/weather?q=%s&appid=%s&units=metric"
Variables ¶
This section is empty.
Functions ¶
func SetUpRoutes ¶
func ShowAccount ¶
func ShowSchedule ¶
func ShowSignIn ¶
func ShowSignUp ¶
func UnAuthRedirect ¶
func UnAuthRedirect(next echo.HandlerFunc) echo.HandlerFunc
Types ¶
type DbHandler ¶
type DbHandler struct {
// contains filtered or unexported fields
}
func NewDbHandler ¶
Click to show internal directories.
Click to hide internal directories.