Versions in this module Expand all Collapse all v1 v1.6.7 Jun 29, 2019 Changes in this version + const DefaultOfflineText + const NotSetOfflineText + type OfflineServer struct + func (server *OfflineServer) IsOffline() bool + func (server *OfflineServer) ServeHTTP(w http.ResponseWriter, req *http.Request) + func (server *OfflineServer) SetOffline(offline bool, offlineText string, offlineUrl string) + type Server interface + IsOffline func() bool + ServeHTTP func(w http.ResponseWriter, req *http.Request) + SetOffline func(offline bool, offlineText string, offlineUrl string) + func NewOfflineServer() Server