mirror of
https://github.com/gofiber/fiber.git
synced 2025-07-11 13:08:04 +00:00
Align structs
This commit is contained in:
parent
7ae39c4d14
commit
e68de0026f
@ -42,10 +42,10 @@ const (
|
|||||||
// Redirect is a struct that holds the redirect data.
|
// Redirect is a struct that holds the redirect data.
|
||||||
type Redirect struct {
|
type Redirect struct {
|
||||||
c *DefaultCtx // Embed ctx
|
c *DefaultCtx // Embed ctx
|
||||||
status int // Status code of redirection. Default: StatusFound
|
|
||||||
messages []string // Flash messages
|
|
||||||
oldInput map[string]string // Old input data
|
oldInput map[string]string // Old input data
|
||||||
cookieConfig CookieConfig // Cookie configuration
|
cookieConfig CookieConfig // Cookie configuration
|
||||||
|
messages []string // Flash messages
|
||||||
|
status int // Status code of redirection. Default: StatusFound
|
||||||
}
|
}
|
||||||
|
|
||||||
// RedirectConfig A config to use with Redirect().Route()
|
// RedirectConfig A config to use with Redirect().Route()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user