Discover Packages
github.com/NeuralTrust/TrustGate
pkg
api
handler
http
package
Version:
v0.2.2
Opens a new window with list of versions in this module.
Published: Jun 22, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type HealthHandler struct{}
func (*HealthHandler) Liveness ¶
Liveness godoc
@Summary Liveness probe
@Description Reports whether the process is alive.
@Tags system
@Produce json
@Success 200 {object} map[string]string
@Router /healthz [get]
func (*HealthHandler) Readiness ¶
Readiness godoc
@Summary Readiness probe
@Description Reports whether the process is ready to serve traffic.
@Tags system
@Produce json
@Success 200 {object} map[string]string
@Router /readyz [get]
type VersionHandler struct{}
func (*VersionHandler) Handle ¶
Handle godoc
@Summary Build version
@Description Returns build/version information for the running binary.
@Tags system
@Produce json
@Success 200 {object} version.Info
@Router /__/version [get]
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.