Encode returns a serialized version of the Session. Note: When implementing this function, it is reasonable to expect that Session is of the exact type returned by New(), and panic if it is not.
(s Session)
| 49 | // Note: When implementing this function, it is reasonable to expect that |
| 50 | // Session is of the exact type returned by New(), and panic if it is not. |
| 51 | Encode(s Session) (string, error) |
| 52 | |
| 53 | // Decode parses the serialized session that may have been returned by Encode |
| 54 | // and returns a Session. |
no outgoing calls