Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DiagnosticService ¶
type DiagnosticService struct {
api.UnimplementedDiagnosticServiceServer
// contains filtered or unexported fields
}
func NewDiagnosticService ¶
func NewDiagnosticService(reg *prometheus.Registry, globalTimeout time.Duration) (*DiagnosticService, error)
func (DiagnosticService) Ping ¶
func (d DiagnosticService) Ping(ctx context.Context, req *api.PingRequest) (*api.PingResponse, error)
func (DiagnosticService) PortProbe ¶
func (d DiagnosticService) PortProbe(ctx context.Context, req *api.PortProbeRequest) (*api.PortProbeResponse, error)
Click to show internal directories.
Click to hide internal directories.