DAL

package
v0.0.0-...-958a2e7 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *sql.DB

Functions

func CreateClient

func CreateClient(client Client) bool

Types

type Client

type Client Models.Client

An alias to Client struct

func (*Client) ChangeActivateStatus

func (client *Client) ChangeActivateStatus(status bool) bool

func (*Client) DoesClientExists

func (client *Client) DoesClientExists() bool

func (*Client) UpdateClientEmail

func (client *Client) UpdateClientEmail() bool

func (*Client) Verify

func (client *Client) Verify() bool

type Database

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

func (*Database) Connect

func (db *Database) Connect() *sql.DB

Connect into the database.

Jump to

Keyboard shortcuts

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