Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EditPassword ¶
type EditPassword struct {
Locale i18n.Locale `form:"-"`
OldPassword string `form:"type(password)" valid:"Required"`
NewPassword string `form:"type(password)" valid:"Required;MinSize(3)"`
}
func (*EditPassword) Labels ¶
func (this *EditPassword) Labels() map[string]string
func (*EditPassword) Placeholders ¶
func (this *EditPassword) Placeholders() map[string]string
type EditUsername ¶
type EditUsername struct {
Locale i18n.Locale `form:"-"`
Username string `form:"type(text)" valid:"Required;MinSize(3)"`
ConfirmPassword string `form:"type(password)" valid:"Required"`
}
func (*EditUsername) Labels ¶
func (this *EditUsername) Labels() map[string]string
func (*EditUsername) Placeholders ¶
func (this *EditUsername) Placeholders() map[string]string
type NewPermission ¶
type NewPermission struct {
Locale i18n.Locale `form:"-"`
Object string `form:"type(text)" valid:"Required"`
Verb string `form:"type(text)" valid:"Required"`
}
func (*NewPermission) Placeholders ¶
func (this *NewPermission) Placeholders() map[string]string
Click to show internal directories.
Click to hide internal directories.