daemon

package
v0.0.0-...-acee36d Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2015 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

*

  • Copyright 2015 @ z3q.net.
  • name : mail_queue
  • author : jarryliu
  • date : 2015-07-27 17:06
  • description :
  • history :

Index

Constants

View Source
const (
	CRON_ORDER_SETUP_MINUTE = 3
)

Variables

This section is empty.

Functions

func FlagRun

func FlagRun()

自定义参数运行

func RegisterByName

func RegisterByName(arr []string)

func RegisterService

func RegisterService(name string, service DaemonService)

func Run

func Run(ctx gof.App)

运行

func Start

func Start()

Types

type DaemonService

type DaemonService func(gof.App)

守护进程服务

Jump to

Keyboard shortcuts

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