add vendor directory

This commit is contained in:
tsmethurst 2021-08-12 15:51:53 +02:00
commit d9026c7798
2666 changed files with 1090740 additions and 0 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,
}
}