store

package
v0.0.0-...-4f48353 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 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 UserStore

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

func NewUserStore

func NewUserStore(db *redis.Client, uri string) *UserStore

func (*UserStore) GetUserByIDs

func (as *UserStore) GetUserByIDs(user *model.NewUser) (*model.NewUser, error)

func (*UserStore) List

func (as *UserStore) List() (model.ProfileList, error)

func (*UserStore) ListLimitOffset

func (as *UserStore) ListLimitOffset(offset, limit int) (model.Profile, int64, error)

Jump to

Keyboard shortcuts

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