Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager interface can be used to customize how to get and update latest resume token.
type RedisManager ¶
type RedisManager struct {
// contains filtered or unexported fields
}
RedisManager store the latest resume token into redis.
The token is stored as a string in extended json format. For details about extended json, see https://docs.mongodb.com/manual/reference/mongodb-extended-json/.
func (*RedisManager) Close ¶
func (r *RedisManager) Close()
Click to show internal directories.
Click to hide internal directories.