cache

package
v0.0.0-...-40c35e2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IndexNewsIDS

func IndexNewsIDS(redisPool *redis.Pool, newsIDChan chan []bson.ObjectId)

IndexNewsIDS main index news ids TODO refactor this!

func RedisKeyGen

func RedisKeyGen(keys ...string) string

RedisKeyGen is a util that joins slices to string Deperecate this!

func RetrieveCachedNews

func RetrieveCachedNews(key string, redisPool *redis.Pool) ([]bson.ObjectId, error)

RetrieveCachedNews main index news ids

func ReverseSlice

func ReverseSlice(s ...string) []string

ReverseSlice util to reverse slice

Types

This section is empty.

Jump to

Keyboard shortcuts

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