covenantsql

package
v0.0.0-...-6e8831f Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: MIT Imports: 10 Imported by: 1

Documentation

Overview

Package covenantsql provides a CovenantSQL implementation of the forum data store interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

Store is a covenantsql implementation of store.

func Connect

func Connect(dsn string, configFile string, masterKey string) (*Store, error)

Connect connects to a store.

func (*Store) Comments

func (s *Store) Comments() store.CommentStore

Comments returns a comment store.

func (*Store) Drop

func (s *Store) Drop() error

Drop drops the store database.

func (*Store) Migrate

func (s *Store) Migrate() error

Migrate migrates the store database.

func (*Store) Reset

func (s *Store) Reset() error

Reset resets the store database.

func (*Store) Topics

func (s *Store) Topics() store.TopicStore

Topics returns a topic store.

func (*Store) Users

func (s *Store) Users() store.UserStore

Users returns a user store.

Jump to

Keyboard shortcuts

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