# Packages
Package ldap provide functions & structure to query a LDAP ldap directory For now, it's mainly tested again an MS Active Directory service, see README.md for more information.
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
AssignForm assign form values back to the template data.
GetInclude get include in form tag.
GetMaxSize get max size in form tag.
GetMinSize get minimal size in form tag.
GetSize get size int form tag.
IsAPIPath if URL is an api path.
SignedInID returns the id of signed in user.
SignedInUser returns the user object of signed user.
# Structs
AddEmailForm form for adding new email.
AddKeyForm form for adding SSH/GPG key.
AddOpenIDForm is for changing openid uri.
AddTimeManuallyForm form that adds spent time manually.
AdminCreateUserForm form for admin to create user.
AdminEditUserForm form for admin to create user.
AuthenticationForm form for authentication.
AvatarForm form for changing avatar.
ChangePasswordForm form for changing password.
CodeCommentForm form for adding code comments for PRs.
ConnectOpenIDForm form for connecting an existing account to an OpenID URI.
CreateCommentForm form for creating comment.
CreateIssueForm form for creating issue.
CreateLabelForm form for creating label.
CreateMilestoneForm form for creating milestone.
CreateOrgForm form for creating organization.
CreateRepoForm form for creating repository.
CreateTeamForm form for creating team.
DeadlineForm hold the validation rules for deadlines.
DeleteRepoFileForm form for deleting repository file.
EditPreviewDiffForm form for changing preview diff.
EditReleaseForm form for changing release.
EditRepoFileForm form for changing repository file.
InitializeLabelsForm form for initializing labels.
InstallForm form for installation page.
MergePullRequestForm form for merging Pull Request.
MigrateRepoForm form for migrating repository.
MustChangePasswordForm form for updating your password after account creation by an admin.
NewAccessTokenForm form for creating access token.
NewBranchForm form for creating a new branch.
NewDingtalkHookForm form for creating dingtalk hook.
NewDiscordHookForm form for creating discord hook.
NewGogshookForm form for creating gogs hook.
NewReleaseForm form for creating release.
NewSlackHookForm form for creating slack hook.
NewWebhookForm form for creating web hook.
NewWikiForm form for creating wiki.
ProtectBranchForm form for changing protected branch settings.
ReactionForm form for adding and removing reaction.
RegisterForm form for registering.
RemoveUploadFileForm form for removing uploaded file.
RepoSettingForm form for changing repository settings.
SaveTopicForm form for save topics for repository.
SignInForm form for signing in with user/password.
SignInOpenIDForm form for signing in with OpenID.
SignUpOpenIDForm form for signin up with OpenID.
SubmitReviewForm for submitting a finished code review.
TwoFactorAuthForm for logging in with 2FA token.
TwoFactorScratchAuthForm for logging in with 2FA scratch token.
U2FDeleteForm for deleting U2F keys.
U2FRegistrationForm for reserving an U2F name.
UpdateOrgSettingForm form for updating organization settings.
UpdateProfileForm form for updating profile.
UploadRepoFileForm form for uploading repository file.
WebhookForm form for changing web hook.
# Interfaces
Form form binding interface.