Documentation ¶
Index ¶
- type WatcherRepository
- func (w *WatcherRepository) DeleteByID(dbname, coll string, id string) error
- func (w *WatcherRepository) DeleteDoc(dbname, coll string, name string) error
- func (w *WatcherRepository) FetchAll(c context.Context)
- func (w *WatcherRepository) FindDoc(dbname, coll string, id string) (int64, error)
- func (w *WatcherRepository) InsertDoc(dbname, coll string, data interface{}) error
- func (w *WatcherRepository) Migration(c context.Context, key, dbname string)
- func (w *WatcherRepository) Watch(c context.Context, key, dbname string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WatcherRepository ¶
func New ¶
func New(ds *WatcherRepository) *WatcherRepository
func (*WatcherRepository) DeleteByID ¶ added in v0.0.2
func (w *WatcherRepository) DeleteByID(dbname, coll string, id string) error
func (*WatcherRepository) DeleteDoc ¶
func (w *WatcherRepository) DeleteDoc(dbname, coll string, name string) error
func (*WatcherRepository) FetchAll ¶
func (w *WatcherRepository) FetchAll(c context.Context)
func (*WatcherRepository) FindDoc ¶ added in v0.0.2
func (w *WatcherRepository) FindDoc(dbname, coll string, id string) (int64, error)
func (*WatcherRepository) InsertDoc ¶
func (w *WatcherRepository) InsertDoc(dbname, coll string, data interface{}) error
Click to show internal directories.
Click to hide internal directories.