store

package
v0.0.0-...-1c4a837 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: GPL-3.0 Imports: 3 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 {
	DB string
}

func NewConfig

func NewConfig() *Config

type Store

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

func New

func New(config *Config) *Store

func (*Store) Close

func (s *Store) Close() error

func (*Store) Open

func (s *Store) Open() error

func (*Store) User

func (s *Store) User() *Userrep

type Userrep

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

func (*Userrep) Create

func (r *Userrep) Create(u *model.User) (*model.User, error)

func (*Userrep) Find

func (r *Userrep) Find(u *model.User) error

Jump to

Keyboard shortcuts

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