server

package
v0.0.0-...-6c8a6c4 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(endpoint string)

Start ups a http server on selected endpoint.

func Stop

func Stop()

Stop down a http server.

Types

type Routing

type Routing map[string]func(http.ResponseWriter, *http.Request)

Routing is a entity for definition of mapping URL to handler.

Jump to

Keyboard shortcuts

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