hub

package
v0.0.0-...-f97894e Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2016 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Pool      *redis.Pool
	RedisConn *redis.Conn
)

Functions

func Delete

func Delete(key string) (bool, error)

func Get

func Get(key string) (string, error)

func HubServer

func HubServer()

*

  • 监听客户端连接

func LoadSessionFromRedis

func LoadSessionFromRedis()

func NewPool

func NewPool(server, password string) *redis.Pool

func RedisInit

func RedisInit()

func Set

func Set(key string, args ...interface{}) (bool, error)

func TickSyncSession

func TickSyncSession()

Types

This section is empty.

Jump to

Keyboard shortcuts

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