models

package
v0.0.0-...-be71356 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetListLength

func GetListLength(listName string) (int64, error)

func GetMsgFromList

func GetMsgFromList(listName string, start, end int64) ([]string, error)

func GetRandomOneFromSet

func GetRandomOneFromSet(setName string) (string, error)

func MoveFromListByValue

func MoveFromListByValue(listName, value string, count int64) error

func PublishMsg

func PublishMsg(channelName, msg string) error

func PushMsgToList

func PushMsgToList(listName, msg string) error

func SaveMsgToSet

func SaveMsgToSet(setName, msg string) error

func SubscribeChannel

func SubscribeChannel(channelName string) chan string

func WrapListMsg

func WrapListMsg(listName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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