Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Enabled bool `json:"enabled"` WaitRoomFile string `json:"waitRoomFile"` WaitingTime time.Duration `json:"waitingTime"` PurgeTime time.Duration `json:"purgeTime"` MaxEntries int `json:"maxEntries"` HttpResponseCode int `json:"httpResponseCode"` HttpContentType string `json:"httpContentType"` }
func CreateConfig ¶
func CreateConfig() *Config
type WaitingRoom ¶
type WaitingRoom struct {
// contains filtered or unexported fields
}
func (*WaitingRoom) ServeHTTP ¶
func (r *WaitingRoom) ServeHTTP(rw http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.