heal

package
v0.0.0-...-e22f67b Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2013 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package heal provides an interface for heal anything.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All() map[string]Healer

func Register

func Register(name string, h Healer)

Register registers a new healer in the Healer registry.

Types

type Healer

type Healer interface {
	// Heal heals something.
	Heal() error
}

Healer represents a healer.

func Get

func Get(name string) (Healer, error)

Get gets the named healer from the registry.

Jump to

Keyboard shortcuts

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