1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-02 15:25:28 -05:00

refine cert config in http

This commit is contained in:
v2ray
2016-05-07 10:06:12 +02:00
parent 67db5830be
commit 301b0ccff7
2 changed files with 32 additions and 8 deletions

View File

@@ -1,13 +1,19 @@
package http
import (
"crypto/tls"
v2net "github.com/v2ray/v2ray-core/common/net"
)
type CertificateConfig struct {
Domain string
Certificate tls.Certificate
}
type TlsConfig struct {
Enabled bool
CertFile string
KeyFile string
Enabled bool
Certs []*CertificateConfig
}
type Config struct {