Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string Port string TLSPort string TLSPrivateKey string TLSPublicKey string WebRoot string Index string MimeTypes map[string]string DefaultMime string ErrorMime string }
* Data structure for web server configuration.
type HttpRequest ¶
type HttpRequest struct { Protocol string Method string Path string Host string Params map[string]string }
* Exchange format for HTTP requests.
type HttpResponse ¶
* Exchange format for HTTP responses.
type WebChannels ¶
type WebChannels struct { Requests chan HttpRequest Responses chan HttpResponse }
* Data structure holding channels for communication between a CGI and the web * server.
Click to show internal directories.
Click to hide internal directories.