Documentation ¶
Index ¶
Constants ¶
View Source
const ( R = Op("r") W = Op("w") )
Valid redic.Op
View Source
const ( SysPrefix = "bifrost" DefaultDelimiter = ":" )
Variables ¶
View Source
var ( ERR_NOT_NECESSARY = errors.New("clean action is not necessary") NO_SERVER_START = "queue has not started" )
Functions ¶
func DecodeInt64 ¶
DecodeFloat64 decode the float64 object from binary
Types ¶
type Queue ¶
type Queue interface { // DedupEnqueue(clientid string, messageID uint16, topic string, message *pbMessage.Message) (uint64, error) // DedupRelease(clientid string, messageID uint16) error // Clear(clientid string) error Enqueue(key string, message *pbMessage.Message) ([]byte, error) GetN(key string, index []byte, count int64) ([]byte, []*pbMessage.Message, error) Index(key string) ([]byte, error) Delete(key string) error Close() error WatchDelete(key string, test CheckFunc) error }
Click to show internal directories.
Click to hide internal directories.