server

package
v0.0.0-...-83cf970 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPort = 8080
)

Variables

This section is empty.

Functions

func HealthCheckHandler

func HealthCheckHandler(w http.ResponseWriter, r *http.Request)

func NewRouter

func NewRouter() *mux.Router

func OpenAPIDocHandler

func OpenAPIDocHandler(w http.ResponseWriter, r *http.Request)

func Serve

func Serve(ctx context.Context, s Scope, errChan chan<- error)

Types

type Scope

type Scope interface {
	Route(*mux.Router)
}

Jump to

Keyboard shortcuts

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