presentation

package
v0.0.0-...-165d855 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProbeAPI

type ProbeAPI struct {
}

ProbeAPI is a health check API for the application

func NewProbeAPI

func NewProbeAPI() *ProbeAPI

NewProbeAPI creates a new instance of ProbeAPI

func (*ProbeAPI) Health

func (api *ProbeAPI) Health(w http.ResponseWriter, r *http.Request)

Health is the health check handler

func (*ProbeAPI) Serve

func (api *ProbeAPI) Serve(port string)

Serve starts the API server

Jump to

Keyboard shortcuts

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