info

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Period time.Duration `yaml:"period" default:"10s"`
}

type Listener

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

func (*Listener) Config

func (l *Listener) Config() interface{}

func (*Listener) Init

func (l *Listener) Init(ctx api.Context) error

func (*Listener) Name

func (l *Listener) Name() string

func (*Listener) Start

func (l *Listener) Start() error

func (*Listener) Stop

func (l *Listener) Stop()

func (*Listener) Subscribe

func (l *Listener) Subscribe(event eventbus.Event)

Jump to

Keyboard shortcuts

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