user

package
v0.0.0-...-5dba8c9 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

用户事件模块

Index

Constants

View Source
const (
	USER_ONLINE = iota
	USER_OFFLINE
)

Variables

This section is empty.

Functions

func Start

func Start(config Config)

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(eventchan chan *Event, pool *redis.Pool, mainchan chan *message.Container, onlinetable *onlinetable.Container) Config

type Event

type Event struct {
	Uid  string
	Type int
}

与用户相关的事件结构体

Jump to

Keyboard shortcuts

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