Merge pull request #3162 from crosbymichael/tcpservice

Add tcp service for grpc listeners
This commit is contained in:
Derek McGowan
2019-04-11 11:55:00 -07:00
committed by GitHub
4 changed files with 48 additions and 3 deletions

View File

@@ -57,6 +57,9 @@ type Config struct {
// GRPCConfig provides GRPC configuration for the socket
type GRPCConfig struct {
Address string `toml:"address"`
TCPAddress string `toml:"tcp_address"`
TCPTLSCert string `toml:"tcp_tls_cert"`
TCPTLSKey string `toml:"tcp_tls_key"`
UID int `toml:"uid"`
GID int `toml:"gid"`
MaxRecvMsgSize int `toml:"max_recv_message_size"`