Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockedLocation ¶
type BlockedLocation struct {
ResponseStatus int `json:"responseStatus"`
}
type Configuration ¶
type Configuration struct { DropPrivileges *DropPrivileges `json:"dropPrivileges"` RequestLogger *RequestLogger `json:"requestLogger"` Servers []Server `json:"servers"` }
func ReadConfiguration ¶
func ReadConfiguration(configFile string) *Configuration
type DirectoryLocation ¶
type DropPrivileges ¶
type FastCGILocation ¶
type Location ¶
type Location struct { LocationID string `json:"locationID"` HttpPathPrefix string `json:"httpPathPrefix"` BlockedLocation *BlockedLocation `json:"blockedLocation"` DirectoryLocation *DirectoryLocation `json:"directoryLocation"` CompressedDirectoryLocation *CompressedDirectoryLocation `json:"compressedDirectoryLocation"` RedirectLocation *RedirectLocation `json:"redirectLocation"` FastCGILocation *FastCGILocation `json:"fastCGILocation"` ResponseHeaders *ResponseHeaders `json:"responseHeaders"` }
type NetworkAndListenAddress ¶
type RedirectLocation ¶
type RequestLogger ¶
type ResponseHeaders ¶
type Server ¶
type Server struct { ServerID string `json:"serverID"` NetworkAndListenAddressList []NetworkAndListenAddress `json:"networkAndListenAddressList"` TLSInfo *TLSInfo `json:"tlsInfo"` Timeouts *Timeouts `json:"timeouts"` ResponseHeaders *ResponseHeaders `json:"responseHeaders"` Locations []Location `json:"locations"` }
Click to show internal directories.
Click to hide internal directories.