Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: Apache-2.0, MIT Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(pattern string, handler func(http.ResponseWriter, *http.Request))

func RegisterHandler

func RegisterHandler(pattern string, handler http.Handler)

func Serve

func Serve(ctx context.Context, bindAddress string, port int)

Serve starts a HTTP server.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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