Documentation
¶
Overview ¶
Package diagnostics is used to provide diagnostic functionality to triage problems with reclient during failure scenarios.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUDSAddrWorks ¶
CheckUDSAddrWorks checks if we are able to start a basic RPC server at the given UDS address. Useful to diagnost scandeps_server startup timeout issues.
Types ¶
type DiagnosticInputs ¶
type DiagnosticInputs struct {
UDSAddr string
}
DiagnosticInputs struct holds key state necessary for diagnostics to run.
type HelloResponse ¶
type HelloResponse struct {
Message string
}
HelloResponse identifies the hello world response.
type HelloService ¶
type HelloService struct{}
HelloService is a simple service to provide a HelloWorld RPC.
func (*HelloService) HelloWorld ¶
func (s *HelloService) HelloWorld(req *HelloRequest, res *HelloResponse) error
HelloWorld is the RPC method that returns a hello world response.
Click to show internal directories.
Click to hide internal directories.