httpsrv

package
v0.0.0-...-4e12403 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Listen    []string
	ListenTLS []string
	Reuse     bool
	Certs     *certs.Config
	Handler   *handler.Config
	Debug     bool
}

type SRV

type SRV struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New(cfg *Config) *SRV

func (*SRV) Listen

func (s *SRV) Listen()

func (*SRV) Reload

func (s *SRV) Reload(cfg *Config)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL