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 ¶
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 ¶
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
RestPlugins builds the rest server as Plugins builds admin. @Provide(name=rest, index=0)
Types ¶
This section is empty.