datastore

package
v0.0.0-...-90b39c7 Latest Latest
Warning

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

Go to latest
Published: May 26, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package datastore specifies and implements the datastore required by the API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Datastore

type Datastore struct {
	Store
}

Datastore is the provided Store implementation.

func NewDatastore

func NewDatastore(name string, url string) (*Datastore, error)

NewDatastore creates and configures a new datastore based on the parameter name and the connection url. Currently only 'postgres' is supported.

type Store

Store is the interface that datastores must implement.

Directories

Path Synopsis
Package errors holds the datastore related errors.
Package errors holds the datastore related errors.
Package postgres holds an implementation of the datastore.Store.
Package postgres holds an implementation of the datastore.Store.

Jump to

Keyboard shortcuts

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