Encode is the opaque token form.
()
| 153 | |
| 154 | // Encode is the opaque token form. |
| 155 | func (c Cursor) Encode() string { |
| 156 | b, _ := json.Marshal(c) |
| 157 | return base64.RawURLEncoding.EncodeToString(b) |
| 158 | } |
| 159 | |
| 160 | // Key is the position the cursor names. |
| 161 | func (c Cursor) Key() Key { |
no outgoing calls