database

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2016 License: GPL-3.0 Imports: 8 Imported by: 2

Documentation

Overview

URTator - Urban Terror server browser and game launcher, written in Go.

Copyright (c) 2016, Stanslav N. a.k.a pztrn (or p0z1tr0n) All rights reserved.

Licensed under Terms and Conditions of GNU General Public License version 3 or any higher. ToDo: put full text of license here.

URTator - Urban Terror server browser and game launcher, written in Go.

Copyright (c) 2016, Stanslav N. a.k.a pztrn (or p0z1tr0n) All rights reserved.

Licensed under Terms and Conditions of GNU General Public License version 3 or any higher. ToDo: put full text of license here.

URTator - Urban Terror server browser and game launcher, written in Go.

Copyright (c) 2016, Stanslav N. a.k.a pztrn (or p0z1tr0n) All rights reserved.

Licensed under Terms and Conditions of GNU General Public License version 3 or any higher. ToDo: put full text of license here.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {

	// Pointer to initialized database connection.
	Db *sqlx.DB
	// contains filtered or unexported fields
}

func New

func New(c *configuration.Config) *Database

func (*Database) Close

func (d *Database) Close()

func (*Database) Initialize

func (d *Database) Initialize(cfg *configuration.Config)

func (*Database) Lock

func (d *Database) Lock()

func (*Database) Migrate

func (d *Database) Migrate()

func (*Database) Unlock

func (d *Database) Unlock()

Jump to

Keyboard shortcuts

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