httpserver

package
v0.3.37 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpServer

type HttpServer struct {
	Router *rox.Router
	// contains filtered or unexported fields
}

func NewHttpServer

func NewHttpServer() *HttpServer

func (*HttpServer) Handle

func (this *HttpServer) Handle(pattern string, handler http.Handler)

func (*HttpServer) HandleFunc

func (this *HttpServer) HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))

func (*HttpServer) Start

func (this *HttpServer) Start(netAddr string) error

func (*HttpServer) Stop

func (this *HttpServer) Stop()

Jump to

Keyboard shortcuts

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