database

package
v0.0.0-...-2496ef4 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2015 License: AGPL-3.0 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
}

func NewDB

func NewDB() (DB, error)

func (DB) GetTweets

func (db DB) GetTweets(name string, from, to time.Time) ([]protocol.Tweet, error)

func (DB) PostTweet

func (db DB) PostTweet(user, password, tweet string) error

func (DB) RegisterUser

func (db DB) RegisterUser(name, password string) error

Jump to

Keyboard shortcuts

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