daemon

package
Version: v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package daemon defines common structure for all daemonizable services, like ethereum-watcher, issuing authority, etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(flagsFn FlagDefineFunc, startFn StartUpFunc)

Types

type FlagDefineFunc

type FlagDefineFunc func()

type Service

type Service interface {
	Shutdown()
	Wait()
}

type StartUpFunc

type StartUpFunc func() Service

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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