Documentation ¶
Index ¶
- type AppleObserver
- type LoggerObserver
- type Observer
- func NewAppleObserver(w world.Interface, logger logrus.FieldLogger) Observer
- func NewLoggerObserver(w world.Interface, logger logrus.FieldLogger) Observer
- func NewSnakeObserver(w world.Interface, logger logrus.FieldLogger) Observer
- func NewWallObserver(w world.Interface, logger logrus.FieldLogger) Observer
- func NewWatermelonObserver(w world.Interface, logger logrus.FieldLogger) Observer
- type SnakeObserver
- type WallObserver
- type WatermelonObserver
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{})
Click to show internal directories.
Click to hide internal directories.