listener

package
v0.0.0-...-5cfdc92 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTP

type HTTP struct{}

func NewHTTP

func NewHTTP() *HTTP

func (HTTP) GetName

func (h HTTP) GetName() string

func (HTTP) Serve

func (h HTTP) Serve(ctx context.Context) error

type Listener

type Listener interface {
	GetName() string
	Serve(context.Context) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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