database

package
v0.0.0-...-39f199c Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(db *sql.DB, table string, result interface{}, clause ...string) error

Types

type PostgresStore

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

PostgresStore represents the session store.

func (*PostgresStore) ListDrafts

func (p *PostgresStore) ListDrafts(token string) (b []byte, exists bool, err error)

Jump to

Keyboard shortcuts

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