Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotExists = errors.New("not exist")
)
Functions ¶
This section is empty.
Types ¶
type StaticStorage ¶
type StaticStorage struct { *Storage // contains filtered or unexported fields }
func NewStaticStorage ¶
func NewStaticStorage(s *Storage) (*StaticStorage, error)
func (*StaticStorage) GetUserByUsername ¶
func (s *StaticStorage) GetUserByUsername(username string) (*pb.User, error)
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func NewMysqlStorage ¶
func NewSqlite3Storage ¶
Click to show internal directories.
Click to hide internal directories.