db

package
v0.0.0-...-b8cd375 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

DB is an abstraction that keeps internals of working with the backend database

func New

func New() *DB

New creates new DB abstraction

func (*DB) GetAllConfigs

func (db *DB) GetAllConfigs() (allConfigs []*igor.UserConfig, err error)

GetAllConfigs returns all configurations available in the DB at this time

func (*DB) SetLastCommunicationWith

func (db *DB) SetLastCommunicationWith(userConfig *igor.UserConfig, username string, moment time.Time) error

SetLastCommunicationWith sets the last time we communicated with some Flowdock user

Jump to

Keyboard shortcuts

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