observer

package
v0.0.0-...-97dfe3f Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

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

func (*Publisher) Publish

func (p *Publisher) Publish(m *tail.Line)

func (*Publisher) Subscribe

func (p *Publisher) Subscribe(c chan *tail.Line)

type Subscriber

type Subscriber struct {
	Channel   chan *tail.Line
	Connector connectors.ConnectorInterface
}

func (*Subscriber) ListenToChannel

func (s *Subscriber) ListenToChannel()

Jump to

Keyboard shortcuts

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