program

package
v0.0.0-...-e4d10f0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Program

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

Program 程序实体

func New

func New() (*Program, error)

New 创建程序实例

func (*Program) ReloadConfig

func (p *Program) ReloadConfig(cfgChan chan *config.Config)

ReloadConfig �重新加载配置文件

func (*Program) Run

func (p *Program) Run()

Run 启动程序

func (*Program) Stop

func (p *Program) Stop()

Stop 程序结束要做的事

Jump to

Keyboard shortcuts

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