listeners

package
v0.0.0-...-3909df4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dispose

type Dispose func() error

type HttpListener

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

func (*HttpListener) Add

func (h *HttpListener) Add(source *v1.Source, options *viper.Viper)

func (*HttpListener) Listen

func (h *HttpListener) Listen(ctx context.Context) error

type Listener

type Listener interface {
	Add(source *v1.Source, options *viper.Viper)
	Listen(context context.Context) error
}

func Http

func Http(address string) Listener

Jump to

Keyboard shortcuts

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