Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoStorage ¶
func NewMongoStorage ¶
func NewMongoStorage(uri string, ctx context.Context) (ms MongoStorage)
func (MongoStorage) Disconnect ¶
func (ms MongoStorage) Disconnect() error
func (MongoStorage) Ping ¶
func (ms MongoStorage) Ping() bool
func (MongoStorage) TaskCollection ¶
func (ms MongoStorage) TaskCollection() *mongo.Collection
func (MongoStorage) UserCollection ¶
func (ms MongoStorage) UserCollection() *mongo.Collection
type RedisStorage ¶
func NewRedisStorage ¶
func NewRedisStorage(uri string, healthcheckMessage string, ctx context.Context) (rs RedisStorage)
Click to show internal directories.
Click to hide internal directories.