Documentation ¶
Index ¶
- func APILogsDelete(context echo.Context) error
- func APILogsGetAll(context echo.Context) error
- func APILogsGetByID(context echo.Context) error
- func APILogsPost(context echo.Context) error
- func APILogsUpdate(context echo.Context) error
- func APISessionAuthenticateWithRefreshToken(context echo.Context) error
- func APISessionLogin(context echo.Context) error
- func APISessionRefreshJWTToken(context echo.Context) error
- func APISessionRegister(context echo.Context) error
- func APIUserGetAll(context echo.Context) error
- func APIUserGetByID(context echo.Context) error
- func APIUserUpdate(context echo.Context) error
- func Serve(context echo.Context, statusCode int) error
- func ServeWithError(context echo.Context, statusCode int, err error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APILogsGetByID ¶
APILogsGetByID get a single log
func APISessionAuthenticateWithRefreshToken ¶
APISessionAuthenticateWithRefreshToken will provide a new JWT token for a user whose token has expired but can provide a refresh token to generate a new one
func APISessionLogin ¶
APISessionLogin checks if user exists in database and returns jwt token if valid
func APISessionRefreshJWTToken ¶
APISessionRefreshJWTToken will provide a new JWT token for a user who currently possess a valid JWT token
func APISessionRegister ¶
APISessionRegister registers new user
func APIUserGetByID ¶
APIUserGetByID get the profile of a user
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.