observers

package
v4.1.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppleObserver

type AppleObserver struct {
	// contains filtered or unexported fields
}

func (*AppleObserver) Observe

func (ao *AppleObserver) Observe(stop <-chan struct{})

type LoggerObserver

type LoggerObserver struct {
	// contains filtered or unexported fields
}

func (*LoggerObserver) Observe

func (lo *LoggerObserver) Observe(stop <-chan struct{})

type Observer

type Observer interface {
	Observe(stop <-chan struct{})
}

func NewAppleObserver

func NewAppleObserver(w world.Interface, logger logrus.FieldLogger) Observer

func NewLoggerObserver

func NewLoggerObserver(w world.Interface, logger logrus.FieldLogger) Observer

func NewSnakeObserver

func NewSnakeObserver(w world.Interface, logger logrus.FieldLogger) Observer

func NewWallObserver

func NewWallObserver(w world.Interface, logger logrus.FieldLogger) Observer

func NewWatermelonObserver

func NewWatermelonObserver(w world.Interface, logger logrus.FieldLogger) Observer

type SnakeObserver

type SnakeObserver struct {
	// contains filtered or unexported fields
}

func (*SnakeObserver) Observe

func (so *SnakeObserver) Observe(stop <-chan struct{})

type WallObserver

type WallObserver struct {
	// contains filtered or unexported fields
}

func (*WallObserver) Observe

func (wo *WallObserver) Observe(stop <-chan struct{})

type WatermelonObserver

type WatermelonObserver struct {
	// contains filtered or unexported fields
}

func (*WatermelonObserver) Observe

func (wo *WatermelonObserver) Observe(stop <-chan struct{})

Jump to

Keyboard shortcuts

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