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

Method VirtualPath

server.go:215–217  ·  view source on GitHub ↗

VirtualPath return current server's VirtualPath

()

Source from the content-addressed store, hash-verified

213
214// VirtualPath return current server's VirtualPath
215func (server *HttpServer) VirtualPath() string {
216 return server.ServerConfig().VirtualPath
217}
218
219// SetOffline set server offline config
220func (server *HttpServer) SetOffline(offline bool, offlineText string, offlineUrl string) {

Callers 2

RegisterRouteMethod · 0.80
RegisterServerFileMethod · 0.80

Calls 1

ServerConfigMethod · 0.95

Tested by

no test coverage detected