system

package
v0.0.0-...-6db7017 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type System

type System struct {
	// halt is used to kill all goroutines in a call to Domain.panic()
	Halt context.CancelFunc
	// log is where normal & debugging messages are dumped to
	Log *log.Logger
}

func NewSystem

func NewSystem(ctx context.Context, l *log.Logger) (context.Context, System)

func (*System) HandleSignals

func (s *System) HandleSignals(ctx context.Context)

func (*System) Logf

func (s *System) Logf(fmt string, args ...interface{})

func (*System) Panic

func (s *System) Panic(err error)

Jump to

Keyboard shortcuts

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