Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseHelper ¶
type DatabaseHelper struct { }
func Database ¶
func Database() *DatabaseHelper
func (*DatabaseHelper) Connect ¶
func (d *DatabaseHelper) Connect() *sql.DB
func (*DatabaseHelper) HashPassword ¶
func (d *DatabaseHelper) HashPassword(password string) (string, error)
func (*DatabaseHelper) Init ¶
func (d *DatabaseHelper) Init() error
func (*DatabaseHelper) VerifyPassword ¶
func (d *DatabaseHelper) VerifyPassword(password string, hash string) bool
Click to show internal directories.
Click to hide internal directories.