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

Method SetIndexPage

server.go:236–239  ·  view source on GitHub ↗

SetIndexPage set default index page name

(indexPage string)

Source from the content-addressed store, hash-verified

234
235// SetIndexPage set default index page name
236func (server *HttpServer) SetIndexPage(indexPage string) {
237 server.ServerConfig().IndexPage = indexPage
238 server.DotApp.Logger().Debug("DotWeb:HttpServer SetIndexPage ["+indexPage+"]", LogTarget_HttpServer)
239}
240
241// SetSessionConfig set session store config
242func (server *HttpServer) SetSessionConfig(storeConfig *session.StoreConfig) {

Callers

nothing calls this directly

Calls 3

ServerConfigMethod · 0.95
DebugMethod · 0.65
LoggerMethod · 0.45

Tested by

no test coverage detected