Documentation
¶
Index ¶
Constants ¶
View Source
const ( AssertionContains = "contains" AssertionNotContains = "not-contains" )
Variables ¶
This section is empty.
Functions ¶
func CheckAndSetETag ¶
func ParseIfMatch ¶
func SetCacheControl ¶
func SetCacheControl(w http.ResponseWriter, maxAge time.Duration, dynamic bool)
Types ¶
type WebInterface ¶
type WebInterface struct {
Config *flagstate.Config
DB database.Database
Fetcher *fetcher.Fetcher
Changes *util.ChangeBroadcaster
}
func (*WebInterface) Start ¶
func (wi *WebInterface) Start()
Click to show internal directories.
Click to hide internal directories.