signal

package
v0.0.0-...-fe2ccbf Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2016 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled bool
}

type Notifier

type Notifier struct{}

Waits for the signal "USR1" and triggers a refresh of configuration data.

func NewNotifier

func NewNotifier() *Notifier

NewNotifier creates a new signal notifier.

func (*Notifier) Start

func (n *Notifier) Start(refresh chan string, quit chan int, wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

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