MCPcopy Create free account
hub / github.com/gogs/gogs / HTML

Method HTML

internal/context/context.go:117–120  ·  view source on GitHub ↗

HTML responses template with given status.

(status int, name string)

Source from the content-addressed store, hash-verified

115
116// HTML responses template with given status.
117func (c *Context) HTML(status int, name string) {
118 log.Trace("Template: %s", name)
119 c.Context.HTML(status, name)
120}
121
122// Success responses template with status http.StatusOK.
123func (c *Context) Success(name string) {

Callers 15

SuccessMethod · 0.95
RenderWithErrMethod · 0.95
NotFoundMethod · 0.95
ErrorMethod · 0.95
renderFunction · 0.80
InstallPostFunction · 0.80
NotFoundFunction · 0.80
LoginPostFunction · 0.80
SignUpPostFunction · 0.80
SettingsPostFunction · 0.80
SettingsPasswordPostFunction · 0.80
SettingsEmailPostFunction · 0.80

Calls

no outgoing calls

Tested by 1

Test_diffsToHTMLFunction · 0.64