database

package
v0.0.0-...-544e413 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2016 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	UID string
	Key string
}

type DB

type DB struct{ *sql.DB }

func Open

func Open(dbname string) (db DB, err error)

func (DB) GetClient

func (db DB) GetClient(uid string) (c Client, err error)

func (DB) NewMatch

func (db DB) NewMatch(uid, key string) (err error)

Jump to

Keyboard shortcuts

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