Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinlogRedisStore ¶
type BinlogRedisStore struct {
// contains filtered or unexported fields
}
func NewBinlogRedisStore ¶
func NewBinlogRedisStore(key string) *BinlogRedisStore
type MongoPosInterface ¶
type MysqlPosInterface ¶
type StreamRedisStore ¶
type StreamRedisStore struct {
// contains filtered or unexported fields
}
func NewStreamRedisStore ¶
func NewStreamRedisStore(key string) *StreamRedisStore
func (*StreamRedisStore) Pos ¶
func (s *StreamRedisStore) Pos() (string, error)
func (*StreamRedisStore) Save ¶
func (s *StreamRedisStore) Save(token string) error
type SyncerPosInterface ¶
type SyncerPosMgoStore ¶
type SyncerPosMgoStore struct { PosKey string Timeout time.Duration // contains filtered or unexported fields }
func NewSyncerPosMgoStore ¶
func NewSyncerPosMgoStore(coll *mongo.Collection, key string, timeout time.Duration) *SyncerPosMgoStore
func (*SyncerPosMgoStore) Pos ¶
func (s *SyncerPosMgoStore) Pos() (*SyncerPos, error)
func (*SyncerPosMgoStore) Save ¶
func (s *SyncerPosMgoStore) Save(pos interface{}, unix ...int64) error
Click to show internal directories.
Click to hide internal directories.