handlers

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GET              string = "GET"
	POST             string = "POST"
	DELETE           string = "DELETE"
	PUT              string = "PUT"
	CONTENT_TYPE     string = "Content-Type"
	APPLICATION_JSON string = "application/json"
)

Variables

This section is empty.

Functions

func RegisterHandlers

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

Registers all Handlers for the Traveller REST API

-- StarSystem handlers

Types

This section is empty.

Jump to

Keyboard shortcuts

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