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

Method SetVirtualPath

server.go:208–212  ·  view source on GitHub ↗

SetVirtualPath set current server's VirtualPath

(path string)

Source from the content-addressed store, hash-verified

206
207// SetVirtualPath set current server's VirtualPath
208func (server *HttpServer) SetVirtualPath(path string) {
209 server.ServerConfig().VirtualPath = path
210 server.DotApp.Logger().Debug("DotWeb:HttpServer SetVirtualPath ["+path+"]", LogTarget_HttpServer)
211
212}
213
214// VirtualPath return current server's VirtualPath
215func (server *HttpServer) VirtualPath() string {

Callers

nothing calls this directly

Calls 3

ServerConfigMethod · 0.95
DebugMethod · 0.65
LoggerMethod · 0.45

Tested by

no test coverage detected