Documentation
¶
Index ¶
- Variables
- func NewCustomValidator() *customValidator
- func NewEcho(h *Handler) *echo.Echo
- type Handler
- func (h *Handler) AddUser(c echo.Context) error
- func (h *Handler) CreatePrice(c echo.Context) error
- func (h *Handler) DeletePrice(c echo.Context) error
- func (h *Handler) FindPrice(c echo.Context) error
- func (h *Handler) FindPrices(c echo.Context) error
- func (h *Handler) GenToken(c echo.Context) error
- func (h *Handler) InitDB() error
- func (h *Handler) UpdatePrice(c echo.Context) error
- type JwtCustomClaims
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewCustomValidator ¶
func NewCustomValidator() *customValidator
Types ¶
type JwtCustomClaims ¶
type JwtCustomClaims struct {
jwt.RegisteredClaims
UserId uint
}
Click to show internal directories.
Click to hide internal directories.