web

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format added in v0.1.5

func Format(l net.Listener) string

Format a listener

func Listen added in v0.1.5

func Listen(prefix, path string) (socket.Listener, error)

listen first tries pulling the connection from a passed in file descriptor. If that fails, it will start listening on a path.

func Serve

func Serve(ctx context.Context, listener net.Listener, handler http.Handler) error

Serve the handler at address

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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