httpserve

package
v0.0.0-...-10fbe9a Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MIT Imports: 4 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 {
	Host string
	Port uint
	// contains filtered or unexported fields
}

func New

func New(printReq bool) *HttpServer

func (*HttpServer) Rux

func (s *HttpServer) Rux() *rux.Router

Rux get rux router

func (*HttpServer) SetHostPort

func (s *HttpServer) SetHostPort(host string, port uint)

SetHostPort set host and port

func (*HttpServer) Start

func (s *HttpServer) Start()

Start http server

Jump to

Keyboard shortcuts

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