server

package
v0.0.0-...-5b3dc04 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(port int, jsonBytes []byte) error

Types

type Router

type Router struct {
	*mux.Router
}

func (*Router) MustResponse

func (r *Router) MustResponse(meth, path string, h http.HandlerFunc)

func (*Router) Run

func (r *Router) Run(address string) error

Jump to

Keyboard shortcuts

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