Documentation ¶
Index ¶
- Variables
- func Read(r *http.Request, name string) (string, error)
- func ReadEncrypted(r *http.Request, name string, secretKey string) (string, error)
- func ReadSigned(r *http.Request, name string, secretKey string) (string, error)
- func Write(w http.ResponseWriter, cookie http.Cookie) error
- func WriteEncrypted(w http.ResponseWriter, cookie http.Cookie, secretKey string) error
- func WriteSigned(w http.ResponseWriter, cookie http.Cookie, secretKey string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrValueTooLong = errors.New("cookie value too long") ErrInvalidValue = errors.New("invalid cookie value") )
Functions ¶
func ReadEncrypted ¶
func WriteEncrypted ¶
func WriteSigned ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.