httpserver

package
v0.0.0-...-a29a5a5 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentExePath

func CurrentExePath() string

func SplitRequest

func SplitRequest(path string) []string

Types

type Host

type Host struct {
	Name string
}

type HttpServer

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

func NewHttpServer

func NewHttpServer() *HttpServer

func (*HttpServer) ServeHTTP

func (s *HttpServer) ServeHTTP(rw http.ResponseWriter, req *http.Request)

func (*HttpServer) Start

func (c *HttpServer) Start()

func (*HttpServer) Stop

func (c *HttpServer) Stop() error

Jump to

Keyboard shortcuts

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