grpc config add options tcp_tls_ca

Signed-off-by: zwtop <wang.zhan@smartx.com>
This commit is contained in:
zwtop
2021-06-15 18:31:22 +08:00
parent 0a3a77bc44
commit 63fe34add6
2 changed files with 20 additions and 2 deletions

View File

@@ -122,6 +122,7 @@ func (c *Config) ValidateV2() error {
type GRPCConfig struct {
Address string `toml:"address"`
TCPAddress string `toml:"tcp_address"`
TCPTLSCA string `toml:"tcp_tls_ca"`
TCPTLSCert string `toml:"tcp_tls_cert"`
TCPTLSKey string `toml:"tcp_tls_key"`
UID int `toml:"uid"`