xhttp

package
v0.0.0-...-24c6111 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowAllCORS

func AllowAllCORS() func(http.Handler) http.Handler

Types

type Server

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

func StartServer

func StartServer(ctx context.Context, g *errgroup.Group, addr string, handler http.Handler) (*Server, error)

func (Server) Port

func (s Server) Port() int

Jump to

Keyboard shortcuts

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