app

package
v0.0.0-...-8df46b2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const VERSION = "1.0.0"

Version Current Worker

Variables

View Source
var (
	// ProduceWorker 用于发送信息到 NSQD
	ProduceWorker *message.ProduceWorker
)

Functions

func AddHandle

func AddHandle(topic string, h nsq.HandlerFunc) error

AddHandle Add a new topic handle. 此说明有可实现的 Handle 来处理 Topic 信息,因此将订阅该主题处理消息

func Run

func Run() error

Run APP

func Stop

func Stop()

Stop App

Types

This section is empty.

Jump to

Keyboard shortcuts

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