package
Version:
v0.1.9
Opens a new window with list of versions in this module.
Published: Nov 4, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 29
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func AuthMiddleware(secret string) fiber.Handler
func VerifyArg(c *fiber.Ctx, out interface{}, from int) error
type AuthClaims struct {
User string `json:"user"`
jwt.RegisteredClaims
}
type BadField struct {
Field string
Tag string
Value interface{}
}
type BadFields struct {
Items []*BadField
}
type GroupItem struct {
Key string `json:"key"`
HoldHours float64 `json:"hold_hours"`
TotalCost float64 `json:"total_cost"`
ProfitSum float64 `json:"profit_sum"`
ProfitPct float64 `json:"profit_pct"`
CloseNum int `json:"close_num"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.