Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeEvent ¶
type ErrorEvent ¶
type ErrorEvent struct { Event ChangeEvent Err error }
type MongoDriver ¶
type MongoDriver struct { Config *MongoOptions Driver *mongo.Client }
func (*MongoDriver) Init ¶
func (d *MongoDriver) Init(config []byte)
func (*MongoDriver) Read ¶
func (d *MongoDriver) Read(ctx context.Context, eventCh chan ChangeEvent) error
type MongoOptions ¶
Click to show internal directories.
Click to hide internal directories.