helpers

package
v0.0.0-...-e1932af Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

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