Documentation ¶
Overview ¶
Package shiroclient provides the ShiroClient interface and one implementations - a mode that connects to a JSON-RPC/HTTP gateway.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTimeoutError ¶
IsTimeoutError inspects an error returned from shiroclient and returns true if it's a timeout.
Types ¶
type HealthCheck ¶
type HealthCheck interface {
Reports() []HealthCheckReport
}
func RemoteHealthCheck ¶
func RemoteHealthCheck(ctx context.Context, client types.ShiroClient, services []string, configs ...types.Config) (HealthCheck, error)
Click to show internal directories.
Click to hide internal directories.