storage

package
v0.0.0-...-92ca402 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Log logger.Interface
	Red redigo.Interface
}

type Interface

type Interface interface {
	Note() notestorage.Interface
	Post() poststorage.Interface
	User() userstorage.Interface
	Vote() votestorage.Interface
	Wallet() walletstorage.Interface
}

func Fake

func Fake() Interface

type Storage

type Storage struct {
	// contains filtered or unexported fields
}

func New

func New(c Config) *Storage

func (*Storage) Note

func (s *Storage) Note() notestorage.Interface

func (*Storage) Post

func (s *Storage) Post() poststorage.Interface

func (*Storage) User

func (s *Storage) User() userstorage.Interface

func (*Storage) Vote

func (s *Storage) Vote() votestorage.Interface

func (*Storage) Wallet

func (s *Storage) Wallet() walletstorage.Interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL