checks

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCCheck

func NewGRPCCheck(address string) func(context.Context) error

NewGRPCCheck checks the reachability of a grpc server.

func NewHTTPCheck

func NewHTTPCheck(url string) func(context.Context) error

NewHTTPCheck checks the reachability of a http server.

func NewNatsCheck

func NewNatsCheck(natsCluster string, options ...nats.Option) func(context.Context) error

NewNatsCheck checks the reachability of a nats server.

func NewTCPCheck

func NewTCPCheck(address string) func(context.Context) error

NewTCPCheck returns a check that connects to a given tcp endpoint.

Types

This section is empty.

Jump to

Keyboard shortcuts

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