server

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RootHandler

func RootHandler(wrapper client.Wrapper) func(w http.ResponseWriter, r *http.Request)

RootHandler returns a handler that uses the given client and token

func Start

func Start()

Start starts the server

func StatusHandler

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

StatusHandler handles a basic /status endpoint for information/ready checks

Types

This section is empty.

Jump to

Keyboard shortcuts

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