MCPcopy
hub / github.com/dnote/dnote / New

Method New

pkg/server/controllers/users.go:95–98  ·  view source on GitHub ↗

New renders user registration page

(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

93
94// New renders user registration page
95func (u *Users) New(w http.ResponseWriter, r *http.Request) {
96 vd := getDataWithReferrer(r)
97 u.NewView.Render(w, r, &vd, http.StatusOK)
98}
99
100// RegistrationForm is the form data for registering
101type RegistrationForm struct {

Callers 15

client.goFile · 0.80
doAuthorizedReqFunction · 0.80
CopyDirFunction · 0.80
DoFunction · 0.80
migrations.goFile · 0.80
BeginMethod · 0.80
CommitMethod · 0.80
RollbackMethod · 0.80
CloseMethod · 0.80
log.goFile · 0.80
listNotesFunction · 0.80
preRunFunction · 0.80

Calls 2

getDataWithReferrerFunction · 0.85
RenderMethod · 0.80