Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
//Enabled bool `default:"true" usage:"allows to enable grpc client" example:"true"`
Name string `default:"grpc-client" validate:"required" example:"backend-grpc-client"`
Addr string `validate:"required,hostname_port" usage:"grpc server address" example:"localhost:9000"`
UseTls bool `default:"false" example:"false"`
Insecure bool `default:"false" example:"false"`
// contains filtered or unexported fields
}
Config provides configuration for grpc cleint.
Click to show internal directories.
Click to hide internal directories.