mirror of
https://github.com/gofiber/fiber.git
synced 2025-04-28 05:36:44 +00:00
* Use composites for internal structures. Fix alignment of structures across Fiber * Update struct alignment in test files * Enable alignment check with govet * Fix ctx autoformat unit-test * Revert app Config struct. Add betteralign to Makefile * Disable comment on alert since it wont work for forks * Update benchmark.yml * Update benchmark.yml * Remove warning from using positional fields * Update router.go
12 lines
168 B
Go
12 lines
168 B
Go
package csrf
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type Token struct {
|
|
Expiration time.Time `json:"expiration"`
|
|
Key string `json:"key"`
|
|
Raw []byte `json:"raw"`
|
|
}
|