mirror of
https://github.com/linka-cloud/grpc.git
synced 2024-11-24 11:56:26 +00:00
cobra silent usage
This commit is contained in:
parent
af25e09154
commit
8e5e48f39b
@ -6,14 +6,15 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var cmd = &cobra.Command{
|
var cmd = &cobra.Command{
|
||||||
Short: "A gRPC micro service",
|
Short: "A gRPC micro service",
|
||||||
|
SilenceUsage: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
caCert = "ca_cert"
|
caCert = "ca_cert"
|
||||||
serverAddress = "server_address"
|
serverAddress = "server_address"
|
||||||
serverCert = "server_cert"
|
serverCert = "server_cert"
|
||||||
serverKey = "server_key"
|
serverKey = "server_key"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
Loading…
Reference in New Issue
Block a user