Versions in this module Expand all Collapse all v0 v0.4.2 Jun 6, 2014 v0.4.1 Jun 1, 2014 v0.4.0 May 31, 2014 Changes in this version + func GetMinMaxSize(field reflect.StructField) string type AdminEditUserForm + LoginType int + type AuthenticationForm struct + AllowAutoRegister bool + Attributes string + AuthName string + BaseDN string + Domain string + Filter string + Host string + Id int64 + IsActived bool + MsAdSA string + Port int + SmtpAuth string + SmtpHost string + SmtpPort int + Tls bool + Type int + UseSSL bool + func (f *AuthenticationForm) Name(field string) string + func (f *AuthenticationForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) + type CreateLabelForm struct + Color string + Title string + func (f *CreateLabelForm) Name(field string) string + func (f *CreateLabelForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) + type CreateMilestoneForm struct + Content string + Deadline string + Title string + func (f *CreateMilestoneForm) Name(field string) string + func (f *CreateMilestoneForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) + type NewWebhookForm struct + Active bool + ContentType string + PushOnly bool + Secret string + Url string + func (f *NewWebhookForm) Name(field string) string + func (f *NewWebhookForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) type RegisterForm + LoginName string + LoginType string + type RepoSettingForm struct + Branch string + Description string + GoGet bool + Interval int + Private bool + RepoName string + Website string + func (f *RepoSettingForm) Name(field string) string + func (f *RepoSettingForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) type UpdateProfileForm + FullName string v0.3.1 Apr 29, 2014 v0.3.0 Apr 21, 2014 Changes in this version type CreateRepoForm + Private bool + type MigrateRepoForm struct + AuthPasswd string + AuthUserName string + Description string + Mirror bool + Private bool + RepoName string + Url string + func (f *MigrateRepoForm) Name(field string) string + func (f *MigrateRepoForm) Validate(errors *base.BindingErrors, req *http.Request, context martini.Context) + type NewReleaseForm struct + Content string + Prerelease bool + TagName string + Title string + func (f *NewReleaseForm) Name(field string) string + func (f *NewReleaseForm) Validate(errors *base.BindingErrors, req *http.Request, context martini.Context) type UpdateProfileForm + UserName string v0.2.0 Mar 31, 2014 Changes in this version + func AssignForm(form interface{}, data base.TmplData) + func IsSignedIn(session session.SessionStore) bool + func SignedInId(session session.SessionStore) int64 + func SignedInName(session session.SessionStore) string + func SignedInUser(session session.SessionStore) *models.User + type AddSSHKeyForm struct + KeyContent string + KeyName string + func (f *AddSSHKeyForm) Name(field string) string + func (f *AddSSHKeyForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) + type AdminEditUserForm struct + Active string + Admin string + Avatar string + Email string + Location string + Website string + func (f *AdminEditUserForm) Name(field string) string + func (f *AdminEditUserForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) + type CreateIssueForm struct + AssigneeId int64 + Content string + IssueName string + Labels string + MilestoneId int64 + func (f *CreateIssueForm) Name(field string) string + func (f *CreateIssueForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) + type CreateRepoForm struct + Description string + InitReadme string + Language string + License string + RepoName string + Visibility string + func (f *CreateRepoForm) Name(field string) string + func (f *CreateRepoForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) + type FeedsForm struct + Page int64 + UserId int64 + type Form interface + Name func(field string) string + type InstallForm struct + AdminEmail string + AdminName string + AdminPasswd string + AppUrl string + Database string + DatabaseName string + DatabasePath string + Domain string + Host string + MailNotify string + Passwd string + RegisterConfirm string + RepoRootPath string + RunUser string + SmtpEmail string + SmtpHost string + SmtpPasswd string + SslMode string + User string + func (f *InstallForm) Name(field string) string + func (f *InstallForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) + type LogInForm struct + Password string + Remember string + UserName string + func (f *LogInForm) Name(field string) string + func (f *LogInForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) + type RegisterForm struct + Email string + Password string + RetypePasswd string + UserName string + func (f *RegisterForm) Name(field string) string + func (f *RegisterForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) + type UpdatePasswdForm struct + NewPasswd string + OldPasswd string + RetypePasswd string + func (f *UpdatePasswdForm) Name(field string) string + func (f *UpdatePasswdForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) + type UpdateProfileForm struct + Avatar string + Email string + Location string + Website string + func (f *UpdateProfileForm) Name(field string) string + func (f *UpdateProfileForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context)