Documentation ¶
Index ¶
Constants ¶
View Source
const ( Success = 1 DefaultPersonasCacheTimeout = 60 DefaultPersonasMax = 512 DefaultPersonasRedisPrefix = "boot:pns:" )
View Source
const (
Ok = "OK"
)
Variables ¶
View Source
var ( Decr = -1 SetValue = struct{}{} AcquireArgs = func() []interface{} { return argsPool.Get().([]interface{}) } ReleaseArgs = func(args []interface{}) { if args == nil { return } args = args[:0] argsPool.Put(args) } )
Functions ¶
func Bytes2Int64 ¶
func HashOrNumber ¶
func HashOrNumber(key interface{}) (value uint32)
Types ¶
type DoubleNode ¶
func NewDoubleNode ¶
func NewDoubleNode(value interface{}, left unsafe.Pointer, right unsafe.Pointer) (node *DoubleNode)
type SingleNode ¶
func NewSingleNode ¶
func NewSingleNode(value interface{}, right unsafe.Pointer) (node *SingleNode)
Click to show internal directories.
Click to hide internal directories.