实现HTTPS配置

This commit is contained in:
刘祥超
2020-10-01 16:01:04 +08:00
parent 10666cf56b
commit 7e83c656a9
13 changed files with 1129 additions and 3 deletions

View File

@@ -130,6 +130,10 @@ func (this *RPCClient) SSLCertRPC() pb.SSLCertServiceClient {
return pb.NewSSLCertServiceClient(this.pickConn())
}
func (this *RPCClient) SSLPolicyRPC() pb.SSLPolicyServiceClient {
return pb.NewSSLPolicyServiceClient(this.pickConn())
}
// 构造上下文
func (this *RPCClient) Context(adminId int64) context.Context {
ctx := context.Background()