Support cookie expires
This commit is contained in:
parent
464f579f44
commit
ad57c76b73
6 changed files with 209 additions and 7 deletions
|
|
@ -109,6 +109,8 @@ type SessionAffinityConfig struct {
|
|||
type CookieSessionAffinity struct {
|
||||
Name string `json:"name"`
|
||||
Hash string `json:"hash"`
|
||||
Expires string `json:"expires,omitempty"`
|
||||
MaxAge string `json:"maxage,omitempty"`
|
||||
Locations map[string][]string `json:"locations,omitempty"`
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue