mirror of https://github.com/gofiber/fiber.git
Align structs
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…
Reference in New Issue