http

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Mux *http.ServeMux
	// contains filtered or unexported fields
}

Server for http

func NewServer

func NewServer(port string) (*Server, error)

NewServer for http

func (*Server) Close

func (s *Server) Close() error

Close this http server

func (*Server) Run

func (s *Server) Run() error

Run this http server

Jump to

Keyboard shortcuts

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