Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryStorage ¶
type MemoryStorage struct {
// contains filtered or unexported fields
}
func NewMemoryStorage ¶
func NewMemoryStorage() *MemoryStorage
func (*MemoryStorage) Delete ¶
func (m *MemoryStorage) Delete(id int64) error
type PostgresStorage ¶
type PostgresStorage struct {
// contains filtered or unexported fields
}
func NewPostgresStorage ¶
func NewPostgresStorage(connString string) (*PostgresStorage, error)
func (*PostgresStorage) Delete ¶
func (p *PostgresStorage) Delete(id int64) error
type RedisStorage ¶
type RedisStorage struct {
// contains filtered or unexported fields
}
func NewRedisStorage ¶
func NewRedisStorage() (*RedisStorage, error)
func (*RedisStorage) Del ¶
func (r *RedisStorage) Del(keys ...string) error
Click to show internal directories.
Click to hide internal directories.