goanna/cookie_signer.go
func (c CookieSigner) DecodeCookie(cookie *http.Cookie) error {
	data, err := c.DecodeValue(cookie.Value)
	if err != nil {
		return err
	}
	cookie.Value = data

	return nil
}
func (c CookieSigner) DecodeCookie(cookie *http.Cookie) error {
	data, err := c.DecodeValue(cookie.Value)
	if err != nil {
		return err
	}
	cookie.Value = data

	return nil
}
func ( c CookieSigner ) DecodeCookie ( cookie * http . Cookie ) error { data , err := c . DecodeValue ( cookie . Value ) if err != nil { return err } cookie . Value = data return nil }
// DecodeCookie verifies the signature and decodes the value into the cookie
DecodeCookie verifies the signature and decodes the value into the cookie