Documentation
¶
Overview ¶
Package introspect provides an API to introspect grpc binding connections.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnDetails ¶
type ConnDetails struct {
DevicePort int
DefaultDial func(context.Context, string, ...grpc.DialOption) (*grpc.ClientConn, error)
DefaultTarget string
DefaultDialOpts []grpc.DialOption
}
ConnDetails provides details of a grpc binding connection.
func Introspect ¶
Introspect returns the grpc connection details for the specified service. It fails if the device does not meet the Introspector interface or if the connection details cannot be retrieved.
type Introspector ¶
type Introspector interface {
ConnDetails(Service) (*ConnDetails, error)
}
Introspector is an interface to introspect grpc binding connections.
Click to show internal directories.
Click to hide internal directories.