update port

This commit is contained in:
sentriz
2019-04-17 21:39:46 +01:00
parent 4cd9c0c39c
commit 6120fc81ef
230 changed files with 51757 additions and 2 deletions

20
vendor/github.com/gorilla/sessions/cookie_go111.go generated vendored Normal file
View File

@@ -0,0 +1,20 @@
// +build go1.11
package sessions
import "net/http"
// newCookieFromOptions returns an http.Cookie with the options set.
func newCookieFromOptions(name, value string, options *Options) *http.Cookie {
return &http.Cookie{
Name: name,
Value: value,
Path: options.Path,
Domain: options.Domain,
MaxAge: options.MaxAge,
Secure: options.Secure,
HttpOnly: options.HttpOnly,
SameSite: options.SameSite,
}
}