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

Function GetAppSet

example/config/main.go:48–51  ·  view source on GitHub ↗
(ctx dotweb.Context)

Source from the content-addressed store, hash-verified

46}
47
48func GetAppSet(ctx dotweb.Context) error {
49 key := ctx.QueryString("key")
50 return ctx.WriteString(ctx.Request().Url(), " => key = ", ctx.ConfigSet().GetString(key))
51}
52
53// ConfigSet
54func ConfigSet(ctx dotweb.Context) error {

Callers

nothing calls this directly

Calls 6

UrlMethod · 0.80
QueryStringMethod · 0.65
WriteStringMethod · 0.65
RequestMethod · 0.65
GetStringMethod · 0.65
ConfigSetMethod · 0.65

Tested by

no test coverage detected