mongocache

package
v0.0.0-...-db7d511 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

A quick and dirty implementation to cache in mongodb

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MongoCacheHandler

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

func NewMongoCacheHandler

func NewMongoCacheHandler(col *mgo.Collection) (mch *MongoCacheHandler, err error)

func (*MongoCacheHandler) Handle

Implements TransportCacheHandler func(RequestCommandInfo, TransportHandler, *Request) (Response)

Jump to

Keyboard shortcuts

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