srv

package
v0.0.0-...-70db0ab Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(ctx context.Context, opts ...Opt) (http.Handler, error)

Types

type Opt

type Opt func(context.Context, *Server) error

func WithRuntime

func WithRuntime(r runtime.Runtime) Opt

type Server

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

func (*Server) ServeHTTP

func (h *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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