burrow: github.com/hyperledger/burrow/process Index | Files

package process

import "github.com/hyperledger/burrow/process"


Package Files


func ListenerFromAddress Uses

func ListenerFromAddress(listenAddress string) (net.Listener, error)

type Launcher Uses

type Launcher struct {
    Name    string
    Enabled bool
    Launch  func() (Process, error)

type Process Uses

type Process interface {
    Shutdown(context.Context) error

Copies the signature from http.Server's graceful shutdown method

type ShutdownFunc Uses

type ShutdownFunc func(context.Context) error

func (ShutdownFunc) Shutdown Uses

func (sf ShutdownFunc) Shutdown(ctx context.Context) error

Package process imports 4 packages (graph) and is imported by 4 packages. Updated 2019-06-12. Refresh now. Tools for package owners.