Documentation ¶
Index ¶
- Constants
- func Action(c *context.Context, puser *context.ParamsUser)
- func Activate(c *context.Context)
- func ActivateEmail(c *context.Context)
- func AutoLogin(c *context.Context) (bool, error)
- func Dashboard(c *context.Context)
- func DeleteEmail(c *context.Context)
- func DeleteSSHKey(c *context.Context)
- func Email2User(c *context.Context)
- func Followers(c *context.Context, puser *context.ParamsUser)
- func Following(c *context.Context, puser *context.ParamsUser)
- func ForgotPasswd(c *context.Context)
- func ForgotPasswdPost(c *context.Context)
- func Issues(c *context.Context)
- func Login(c *context.Context)
- func LoginPost(c *context.Context, f form.SignIn)
- func LoginTwoFactor(c *context.Context)
- func LoginTwoFactorPost(c *context.Context)
- func LoginTwoFactorRecoveryCode(c *context.Context)
- func LoginTwoFactorRecoveryCodePost(c *context.Context)
- func Profile(c *context.Context, puser *context.ParamsUser)
- func ResetPasswd(c *context.Context)
- func ResetPasswdPost(c *context.Context)
- func Settings(c *context.Context)
- func SettingsApplications(c *context.Context)
- func SettingsApplicationsPost(c *context.Context, f form.NewAccessToken)
- func SettingsAvatar(c *context.Context)
- func SettingsAvatarPost(c *context.Context, f form.Avatar)
- func SettingsDelete(c *context.Context)
- func SettingsDeleteApplication(c *context.Context)
- func SettingsDeleteAvatar(c *context.Context)
- func SettingsEmailPost(c *context.Context, f form.AddEmail)
- func SettingsEmails(c *context.Context)
- func SettingsLeaveOrganization(c *context.Context)
- func SettingsLeaveRepo(c *context.Context)
- func SettingsOrganizations(c *context.Context)
- func SettingsPassword(c *context.Context)
- func SettingsPasswordPost(c *context.Context, f form.ChangePassword)
- func SettingsPost(c *context.Context, f form.UpdateProfile)
- func SettingsRepos(c *context.Context)
- func SettingsSSHKeys(c *context.Context)
- func SettingsSSHKeysPost(c *context.Context, f form.AddSSHKey)
- func SettingsSecurity(c *context.Context)
- func SettingsTwoFactorDisable(c *context.Context)
- func SettingsTwoFactorEnable(c *context.Context)
- func SettingsTwoFactorEnablePost(c *context.Context)
- func SettingsTwoFactorRecoveryCodes(c *context.Context)
- func SettingsTwoFactorRecoveryCodesPost(c *context.Context)
- func ShowSSHKeys(c *context.Context, uid int64)
- func SignOut(c *context.Context)
- func SignUp(c *context.Context)
- func SignUpPost(c *context.Context, cpt *captcha.Captcha, f form.Register)
- func Stars(c *context.Context)
- func UpdateAvatarSetting(c *context.Context, f form.Avatar, ctxUser *db.User) error
Constants ¶
View Source
const ( LOGIN = "user/auth/login" TWO_FACTOR = "user/auth/two_factor" TWO_FACTOR_RECOVERY_CODE = "user/auth/two_factor_recovery_code" SIGNUP = "user/auth/signup" ACTIVATE = "user/auth/activate" FORGOT_PASSWORD = "user/auth/forgot_passwd" RESET_PASSWORD = "user/auth/reset_passwd" )
View Source
const ( DASHBOARD = "user/dashboard/dashboard" NEWS_FEED = "user/dashboard/feeds" ISSUES = "user/dashboard/issues" PROFILE = "user/profile" ORG_HOME = "org/home" )
View Source
const ( FOLLOWERS = "user/meta/followers" STARS = "user/meta/stars" )
View Source
const ( SETTINGS_PROFILE = "user/settings/profile" SETTINGS_AVATAR = "user/settings/avatar" SETTINGS_PASSWORD = "user/settings/password" SETTINGS_EMAILS = "user/settings/email" SETTINGS_SSH_KEYS = "user/settings/sshkeys" SETTINGS_SECURITY = "user/settings/security" SETTINGS_TWO_FACTOR_ENABLE = "user/settings/two_factor_enable" SETTINGS_TWO_FACTOR_RECOVERY_CODES = "user/settings/two_factor_recovery_codes" SETTINGS_REPOSITORIES = "user/settings/repositories" SETTINGS_ORGANIZATIONS = "user/settings/organizations" SETTINGS_APPLICATIONS = "user/settings/applications" SETTINGS_DELETE = "user/settings/delete" NOTIFICATION = "user/notification" )
Variables ¶
This section is empty.
Functions ¶
func ActivateEmail ¶
func DeleteEmail ¶
func DeleteSSHKey ¶
func Email2User ¶
func ForgotPasswd ¶
func ForgotPasswdPost ¶
func LoginTwoFactor ¶
func LoginTwoFactorPost ¶
func ResetPasswd ¶
func ResetPasswdPost ¶
func SettingsApplications ¶
func SettingsApplicationsPost ¶
func SettingsApplicationsPost(c *context.Context, f form.NewAccessToken)
func SettingsAvatar ¶
func SettingsDelete ¶
func SettingsDeleteAvatar ¶
func SettingsEmails ¶
func SettingsLeaveRepo ¶
func SettingsOrganizations ¶
func SettingsPassword ¶
func SettingsPasswordPost ¶
func SettingsPasswordPost(c *context.Context, f form.ChangePassword)
func SettingsPost ¶
func SettingsPost(c *context.Context, f form.UpdateProfile)
func SettingsRepos ¶
func SettingsSSHKeys ¶
func SettingsSecurity ¶
func SettingsTwoFactorEnable ¶
func ShowSSHKeys ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.