database

package
v0.0.0-...-4f860c3 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2017 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DatabaseFileName = "go_xmpp4steam.db"
)

Variables

View Source
var (
	DatabaseFile = ""
)

Functions

func Close

func Close()

func Init

func Init()

func RemoveLine

func RemoveLine(jid string) bool

Types

type DatabaseLine

type DatabaseLine struct {
	Jid        string
	SteamLogin string
	SteamPwd   string
	Debug      bool
}

func GetAllLines

func GetAllLines() []DatabaseLine

func GetLine

func GetLine(jid string) *DatabaseLine

func (*DatabaseLine) AddLine

func (newLine *DatabaseLine) AddLine() bool

func (*DatabaseLine) UpdateLine

func (newLine *DatabaseLine) UpdateLine() bool

func (*DatabaseLine) UpdateUser

func (dbUser *DatabaseLine) UpdateUser() bool

Jump to

Keyboard shortcuts

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