MCPcopy Create free account
hub / github.com/devfeel/dotweb / ServerConfig

Method ServerConfig

server.go:103–105  ·  view source on GitHub ↗

ServerConfig a shortcut for App.Config.ServerConfig

()

Source from the content-addressed store, hash-verified

101
102// ServerConfig a shortcut for App.Config.ServerConfig
103func (server *HttpServer) ServerConfig() *config.ServerNode {
104 return server.DotApp.Config.Server
105}
106
107// SessionConfig a shortcut for App.Config.SessionConfig
108func (server *HttpServer) SessionConfig() *config.SessionNode {

Callers 15

SetVirtualPathMethod · 0.95
VirtualPathMethod · 0.95
IndexPageMethod · 0.95
SetIndexPageMethod · 0.95
SetEnabledAutoHEADMethod · 0.95
SetEnabledAutoOPTIONSMethod · 0.95
SetEnabledRequestIDMethod · 0.95
SetEnabledListDirMethod · 0.95
SetEnabledGzipMethod · 0.95
SetEnabledTLSMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected