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

Method SetEnabledBindUseJsonTag

server.go:455–458  ·  view source on GitHub ↗

SetEnabledBindUseJsonTag set whethr to enable json tab on Bind, default is false

(isEnabled bool)

Source from the content-addressed store, hash-verified

453
454// SetEnabledBindUseJsonTag set whethr to enable json tab on Bind, default is false
455func (server *HttpServer) SetEnabledBindUseJsonTag(isEnabled bool) {
456 server.ServerConfig().EnabledBindUseJsonTag = isEnabled
457 server.Logger().Debug("DotWeb:HttpServer SetEnabledBindUseJsonTag ["+strconv.FormatBool(isEnabled)+"]", LogTarget_HttpServer)
458}
459
460// SetEnabledIgnoreFavicon set IgnoreFavicon Enabled
461// default is false

Callers 1

mainFunction · 0.80

Calls 3

ServerConfigMethod · 0.95
LoggerMethod · 0.95
DebugMethod · 0.65

Tested by

no test coverage detected