Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DualServer ¶
type DualServer struct {
// contains filtered or unexported fields
}
func NewDual ¶
func NewDual() *DualServer
func (*DualServer) Run ¶
func (this *DualServer) Run(addr string, addrTls string, handler http.Handler)
func (*DualServer) Shutdown ¶
func (this *DualServer) Shutdown()
func (*DualServer) WithSecret ¶
func (this *DualServer) WithSecret(certFile, keyFile string) *DualServer
func (*DualServer) WithSecretDir ¶
func (this *DualServer) WithSecretDir(dir string) *DualServer
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) WithTlsDir ¶
Click to show internal directories.
Click to hide internal directories.