string_storage_mongodb

package
v0.0.0-...-57e7482 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DEFAULT_DB_NAME = "vacuum"
)

Variables

This section is empty.

Functions

func OpenMongoDB

func OpenMongoDB(url string, dbname string) (storage.StringStorage, error)

Types

type MongoDBStringStorge

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

func (*MongoDBStringStorge) Read

func (ss *MongoDBStringStorge) Read(name string, stringID string) (interface{}, error)

func (*MongoDBStringStorge) Write

func (ss *MongoDBStringStorge) Write(name string, stringID string, data interface{}) error

Jump to

Keyboard shortcuts

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