mongolayer

package
v0.0.0-...-30d5ca0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DB     = "myevents"
	USERS  = "users"
	EVENTS = "events"
)

Variables

This section is empty.

Functions

func NewMongoDBLayer

func NewMongoDBLayer(connection string) (persistence.DatabaseHandler, error)

Types

type MongoDBLayer

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

func (*MongoDBLayer) AddEvent

func (mgoLayer *MongoDBLayer) AddEvent(e persistence.Event) ([]byte, error)

Jump to

Keyboard shortcuts

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