Documentation ¶
Index ¶
- type Redis
- func (db Redis) Close() error
- func (db Redis) Create(ctx context.Context, article entity.Article) (err error)
- func (db Redis) Delete(ctx context.Context, id string) (err error)
- func (db Redis) EventHandlers() map[event.EventType][]event.Handler
- func (db Redis) Get(ctx context.Context, id string) (_ entity.Article, err error)
- func (db Redis) GetMultiple(ctx context.Context, offset, limit string) (_ []entity.Article, err error)
- func (db Redis) Ping(ctx context.Context) error
- func (db Redis) Update(ctx context.Context, article entity.Article) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.