hooktesting

package
v0.0.0-...-a0d7459 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2017 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HookList

func HookList(kinds ...hooks.Kind) []hook.Info

Types

type UpdateSource

type UpdateSource struct {
	Tomb tomb.Tomb

	ChangesC chan hook.SourceChange
	UpdatesC chan interface{}
	// contains filtered or unexported fields
}

func NewEmptySource

func NewEmptySource() *UpdateSource

func NewFullBufferedSource

func NewFullBufferedSource() *UpdateSource

func NewFullUnbufferedSource

func NewFullUnbufferedSource() *UpdateSource

func (*UpdateSource) Changes

func (source *UpdateSource) Changes() <-chan hook.SourceChange

func (*UpdateSource) Empty

func (source *UpdateSource) Empty() bool

func (*UpdateSource) NewChange

func (source *UpdateSource) NewChange(v interface{}) hook.SourceChange

func (*UpdateSource) Next

func (source *UpdateSource) Next() hook.Info

func (*UpdateSource) Pop

func (source *UpdateSource) Pop()

func (*UpdateSource) Stop

func (source *UpdateSource) Stop() error

Jump to

Keyboard shortcuts

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