probe

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package probe answers the liveness probe on the admin server of app api, apart from the public routes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GrpcPlugins added in v1.6.1

func GrpcPlugins() []grpcserver.Plugin

GrpcPlugins builds the grpc server: every response carries the x-served-by header. @Provide(name=grpc, index=0)

func Live

func Live(c echo.Context) error

Live answers the liveness probe. Each @REST line is a route. @REST(method=GET, path=/live, server=admin) @REST(method=HEAD, path=/live, server=admin)

func Plugins

func Plugins() []boostecho.Plugin

Plugins builds the admin server: every response says which server served it. A []Plugin provided under the name of a server reaches only that server, rest and grpc included; rest and grpc also take the unnamed one. @Provide(name=admin, index=0)

func RestPlugins added in v1.6.1

func RestPlugins() []boostecho.Plugin

RestPlugins builds the rest server as Plugins builds admin. @Provide(name=rest, index=0)

Types

This section is empty.

Jump to

Keyboard shortcuts

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