server

package
v0.0.0-...-f17bfed Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

func Stop

func Stop()

Types

type Router

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

func NewRouter

func NewRouter() *Router

func (*Router) Handle

func (router *Router) Handle(path string, handler http.Handler)

func (*Router) HandleFunc

func (router *Router) HandleFunc(path string, handlerFunc http.HandlerFunc)

func (*Router) Use

func (router *Router) Use(middleware func(http.Handler) http.Handler)

Directories

Path Synopsis
routes
api
web

Jump to

Keyboard shortcuts

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