http

package
v1.22.1 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebServer

type WebServer struct {
	Port int
	// contains filtered or unexported fields
}

func NewWebServer

func NewWebServer(s *cli.EnvSettings) *WebServer

func (*WebServer) GetStatus

func (thisWebServer *WebServer) GetStatus(out http.ResponseWriter, r *http.Request)

func (*WebServer) HelloServer

func (thisWebServer *WebServer) HelloServer(out http.ResponseWriter, r *http.Request)

func (*WebServer) Run

func (thisWebServer *WebServer) Run(out io.Writer) error

Jump to

Keyboard shortcuts

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