Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCProvider ¶
type GRPCProvider struct {
BaseProvider
Host string `json:"host"`
Port int `json:"port"`
ServiceName string `json:"service_name"`
MethodName string `json:"method_name"`
// Target optionally specifies the gNMI target name for Subscribe operations.
Target string `json:"target,omitempty"`
UseSSL bool `json:"use_ssl"`
Auth *Auth `json:"auth,omitempty"`
}
GRPCProvider represents a gRPC service.
func UnmarshalGRPCProvider ¶
func UnmarshalGRPCProvider(data []byte) (*GRPCProvider, error)
Click to show internal directories.
Click to hide internal directories.