serve

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer(c *cli.Context) error

func Serve

func Serve(c *cli.Context) error

Types

type RegexpHandler added in v0.0.2

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

func (*RegexpHandler) HandleFunc added in v0.0.2

func (h *RegexpHandler) HandleFunc(pattern *regexp.Regexp, handler func(http.ResponseWriter, *http.Request))

func (*RegexpHandler) Handler added in v0.0.2

func (h *RegexpHandler) Handler(pattern *regexp.Regexp, handler http.Handler)

func (*RegexpHandler) ServeHTTP added in v0.0.2

func (h *RegexpHandler) 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