Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Type Type Path string Host string Subdomain string TLS TLSRequest Port int Expose bool CORS bool Launch bool Auth string DisableTUI bool }
func (*Configuration) WantsAutoTLS ¶
func (r *Configuration) WantsAutoTLS() bool
func (*Configuration) WantsTLS ¶
func (r *Configuration) WantsTLS() bool
type Handler ¶
func FileServer ¶
func FileServer(root http.FileSystem) Handler
type Output ¶ added in v0.4.2
func NewLogOutput ¶ added in v0.4.2
func NewLogOutput() Output
func NewTuiOutput ¶ added in v0.4.2
func NewTuiOutput() Output
type Requests ¶ added in v0.4.2
type Requests struct {
// contains filtered or unexported fields
}
func NewRequestManager ¶ added in v0.4.2
func NewRequestManager() *Requests
type Servant ¶
type Servant struct {
// contains filtered or unexported fields
}
func New ¶
func New(config Configuration) *Servant
type TLSRequest ¶
Click to show internal directories.
Click to hide internal directories.