 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadCertificate ¶ added in v1.4.0
func LoadCertificate(certFile, keyFile string) (*tls.Certificate, error)
Types ¶
type HostInfo ¶
type HostInfo struct {
	Listens      []string
	ListensPlain []string
	ListensTLS   []string
	Cert         *tls.Certificate
	HostNames    []string
	Handler      http.Handler
}
    init host info
type Service ¶
type Service struct {
	// contains filtered or unexported fields
}
    func NewService ¶
func NewService() *Service
 Click to show internal directories. 
   Click to hide internal directories.