simple

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

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Simple

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

func NewSimple

func NewSimple(config conf.PostgresConfiguration) (*Simple, error)

func (*Simple) AccountRegistry

func (s *Simple) AccountRegistry(account string, name string, password string, role generated.Role) error

func (*Simple) DB

func (s *Simple) DB() *gorm.DB

func (*Simple) GetUserByAccount

func (s *Simple) GetUserByAccount(account string) (*models.User, error)

Jump to

Keyboard shortcuts

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