notice

package
v0.0.0-...-17d8d8c Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifer

type Notifer struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

Notifer recv client request.

func NewServer

func NewServer(host, master, etcd string) (*Notifer, error)

NewServer new Notifer server.

func (*Notifer) Push

Push store调用的接口.

func (*Notifer) RegionSet

RegionSet 修改当前region的范围

func (*Notifer) Subscribe

Subscribe 用户上线,接受在线推送

func (*Notifer) UnSubscribe

UnSubscribe 用户下线,取消在线推送

Jump to

Keyboard shortcuts

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