Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Dial x.Dialer = x.DefaultDial
Functions ¶
This section is empty.
Types ¶
type DomainData ¶
type HTTPSServer ¶
type HTTPSServer struct {
TCPAddr *net.TCPAddr
TCPListen *net.TCPListener
Ckv *crypto.KV
Domain string
TLSConfig *tls.Config
TLSAddr *net.TCPAddr
TLSTimeout int64
TLSDeadline int64
DomainCkv map[string]*crypto.KV
TLSServer *TLSServer
}
HTTPSServer .
func NewHTTPSServer ¶
func (*HTTPSServer) ListenAndServe ¶
func (s *HTTPSServer) ListenAndServe() error
func (*HTTPSServer) RunTLSServer ¶
func (s *HTTPSServer) RunTLSServer() error
func (*HTTPSServer) Shutdown ¶
func (s *HTTPSServer) Shutdown()
type TLSServer ¶
type TLSServer struct {
HTTPSServer *HTTPSServer
Cache *cache.Cache
TCPListen *net.TCPListener
Done chan byte
DomainData chan DomainData
Error chan error
}
TLSServer .
func (*TLSServer) HandleClient ¶
HandleClient .
Click to show internal directories.
Click to hide internal directories.