Encode should encode the cookie value. Should accept the cookie's name as its first argument and as second argument the cookie value ptr. Should return an encoded value or an empty one if encode operation failed. Should return an error if encode operation failed. Note: Errors are not printed, so yo
(cookieName string, cookieValue interface{})
| 5754 | // |
| 5755 | // See `Decode` too. |
| 5756 | Encode(cookieName string, cookieValue interface{}) (string, error) |
| 5757 | // Decode should decode the cookie value. |
| 5758 | // Should accept the cookie's name as its first argument, |
| 5759 | // as second argument the encoded cookie value and as third argument the decoded value ptr. |
no outgoing calls