Documentation
¶
Index ¶
- Variables
- func Cache(h http.Handler) http.Handler
- type BrandParams
- type Collaborator
- type EditBioParams
- type EditIssueCommentParams
- type EditIssueParams
- type EditLabelPanelParams
- type EditPinsParams
- type FollowCard
- type FollowFragmentParams
- type ForkRepoParams
- type GoodFirstIssuesParams
- type IssueCommentBodyParams
- type KnotListingParams
- type KnotParams
- type KnotsParams
- type LabelPanelParams
- type LogBlockEndParams
- type LogBlockParams
- type LogLineParams
- type LoginParams
- type NewRepoParams
- type NotificationCountParams
- type NotificationItemParams
- type NotificationsParams
- type Pages
- func (p *Pages) AvatarUrl(handle, size string) string
- func (p *Pages) Brand(w io.Writer, params BrandParams) error
- func (p *Pages) CompleteSignup(w io.Writer) error
- func (p *Pages) CssContentHash() string
- func (p *Pages) EditBioFragment(w io.Writer, params EditBioParams) error
- func (p *Pages) EditIssueCommentFragment(w io.Writer, params EditIssueCommentParams) error
- func (p *Pages) EditIssueFragment(w io.Writer, params EditIssueParams) error
- func (p *Pages) EditLabelPanel(w io.Writer, params EditLabelPanelParams) error
- func (p *Pages) EditPinsFragment(w io.Writer, params EditPinsParams) error
- func (p *Pages) Error404(w io.Writer) error
- func (p *Pages) Error500(w io.Writer) error
- func (p *Pages) Error503(w io.Writer) error
- func (p *Pages) ErrorKnot404(w io.Writer) error
- func (p *Pages) Favicon(w io.Writer) error
- func (p *Pages) FollowFragment(w io.Writer, params FollowFragmentParams) error
- func (p *Pages) ForkRepo(w io.Writer, params ForkRepoParams) error
- func (p *Pages) GoodFirstIssues(w io.Writer, params GoodFirstIssuesParams) error
- func (p *Pages) Home(w io.Writer, params TimelineParams) error
- func (s *Pages) HxLocation(w http.ResponseWriter, location string)
- func (s *Pages) HxRedirect(w http.ResponseWriter, location string)
- func (s *Pages) HxRefresh(w http.ResponseWriter)
- func (p *Pages) IssueCommentBodyFragment(w io.Writer, params IssueCommentBodyParams) error
- func (p *Pages) Knot(w io.Writer, params KnotParams) error
- func (p *Pages) KnotListing(w io.Writer, params KnotListingParams) error
- func (p *Pages) Knots(w io.Writer, params KnotsParams) error
- func (p *Pages) LabelPanel(w io.Writer, params LabelPanelParams) error
- func (p *Pages) LogBlock(w io.Writer, params LogBlockParams) error
- func (p *Pages) LogBlockEnd(w io.Writer, params LogBlockEndParams) error
- func (p *Pages) LogLine(w io.Writer, params LogLineParams) error
- func (p *Pages) Login(w io.Writer, params LoginParams) error
- func (p *Pages) NewRepo(w io.Writer, params NewRepoParams) error
- func (s *Pages) Notice(w http.ResponseWriter, id, msg string)
- func (p *Pages) NotificationCount(w io.Writer, params NotificationCountParams) error
- func (p *Pages) NotificationItem(w io.Writer, params NotificationItemParams) error
- func (p *Pages) Notifications(w io.Writer, params NotificationsParams) error
- func (p *Pages) Pipelines(w io.Writer, params PipelinesParams) error
- func (p *Pages) PrivacyPolicy(w io.Writer, params PrivacyPolicyParams) error
- func (p *Pages) ProfileFollowers(w io.Writer, params ProfileFollowersParams) error
- func (p *Pages) ProfileFollowing(w io.Writer, params ProfileFollowingParams) error
- func (p *Pages) ProfileOverview(w io.Writer, params ProfileOverviewParams) error
- func (p *Pages) ProfileRepos(w io.Writer, params ProfileReposParams) error
- func (p *Pages) ProfileStarred(w io.Writer, params ProfileStarredParams) error
- func (p *Pages) ProfileStrings(w io.Writer, params ProfileStringsParams) error
- func (p *Pages) PullActionsFragment(w io.Writer, params PullActionsParams) error
- func (p *Pages) PullCompareBranchesFragment(w io.Writer, params PullCompareBranchesParams) error
- func (p *Pages) PullCompareForkBranchesFragment(w io.Writer, params PullCompareForkBranchesParams) error
- func (p *Pages) PullCompareForkFragment(w io.Writer, params PullCompareForkParams) error
- func (p *Pages) PullNewCommentFragment(w io.Writer, params PullNewCommentParams) error
- func (p *Pages) PullPatchUploadFragment(w io.Writer, params PullPatchUploadParams) error
- func (p *Pages) PullResubmitFragment(w io.Writer, params PullResubmitParams) error
- func (p *Pages) PutString(w io.Writer, params PutStringParams) error
- func (p *Pages) ReplyIssueCommentFragment(w io.Writer, params ReplyIssueCommentParams) error
- func (p *Pages) ReplyIssueCommentPlaceholderFragment(w io.Writer, params ReplyIssueCommentPlaceholderParams) error
- func (p *Pages) RepoAccessSettings(w io.Writer, params RepoAccessSettingsParams) error
- func (p *Pages) RepoArtifactFragment(w io.Writer, params RepoArtifactParams) error
- func (p *Pages) RepoBlob(w io.Writer, params RepoBlobParams) error
- func (p *Pages) RepoBranches(w io.Writer, params RepoBranchesParams) error
- func (p *Pages) RepoCommit(w io.Writer, params RepoCommitParams) error
- func (p *Pages) RepoCompare(w io.Writer, params RepoCompareParams) error
- func (p *Pages) RepoCompareAllowPullFragment(w io.Writer, params RepoCompareAllowPullParams) error
- func (p *Pages) RepoCompareDiff(w io.Writer, params RepoCompareDiffParams) error
- func (p *Pages) RepoCompareNew(w io.Writer, params RepoCompareNewParams) error
- func (p *Pages) RepoGeneralSettings(w io.Writer, params RepoGeneralSettingsParams) error
- func (p *Pages) RepoIndexPage(w io.Writer, params RepoIndexParams) error
- func (p *Pages) RepoIssues(w io.Writer, params RepoIssuesParams) error
- func (p *Pages) RepoLog(w io.Writer, params RepoLogParams) error
- func (p *Pages) RepoNewIssue(w io.Writer, params RepoNewIssueParams) error
- func (p *Pages) RepoNewPull(w io.Writer, params RepoNewPullParams) error
- func (p *Pages) RepoPipelineSettings(w io.Writer, params RepoPipelineSettingsParams) error
- func (p *Pages) RepoPullInterdiffPage(w io.Writer, params RepoPullInterdiffParams) error
- func (p *Pages) RepoPullPatchPage(w io.Writer, params RepoPullPatchParams) error
- func (p *Pages) RepoPulls(w io.Writer, params RepoPullsParams) error
- func (p *Pages) RepoSettings(w io.Writer, params RepoSettingsParams) error
- func (p *Pages) RepoSingleIssue(w io.Writer, params RepoSingleIssueParams) error
- func (p *Pages) RepoSinglePull(w io.Writer, params RepoSinglePullParams) error
- func (p *Pages) RepoStarFragment(w io.Writer, params RepoStarFragmentParams) error
- func (p *Pages) RepoTags(w io.Writer, params RepoTagsParams) error
- func (p *Pages) RepoTree(w io.Writer, params RepoTreeParams) error
- func (p *Pages) Signup(w io.Writer, params SignupParams) error
- func (p *Pages) SingleString(w io.Writer, params SingleStringParams) error
- func (p *Pages) SpindleDashboard(w io.Writer, params SpindleDashboardParams) error
- func (p *Pages) SpindleListing(w io.Writer, params SpindleListingParams) error
- func (p *Pages) Spindles(w io.Writer, params SpindlesParams) error
- func (p *Pages) Static() http.Handler
- func (p *Pages) StringsDashboard(w io.Writer, params StringsDashboardParams) error
- func (p *Pages) StringsTimeline(w io.Writer, params StringTimelineParams) error
- func (p *Pages) TermsOfService(w io.Writer, params TermsOfServiceParams) error
- func (p *Pages) ThreadReactionFragment(w io.Writer, params ThreadReactionFragmentParams) error
- func (p *Pages) Timeline(w io.Writer, params TimelineParams) error
- func (p *Pages) UpgradeBanner(w io.Writer, params UpgradeBannerParams) error
- func (p *Pages) UserEmailsSettings(w io.Writer, params UserEmailsSettingsParams) error
- func (p *Pages) UserKeysSettings(w io.Writer, params UserKeysSettingsParams) error
- func (p *Pages) UserNotificationSettings(w io.Writer, params UserNotificationSettingsParams) error
- func (p *Pages) UserProfileSettings(w io.Writer, params UserProfileSettingsParams) error
- func (p *Pages) Workflow(w io.Writer, params WorkflowParams) error
- type PinnedRepo
- type PipelinesParams
- type PrivacyPolicyParams
- type ProfileCard
- type ProfileFollowersParams
- type ProfileFollowingParams
- type ProfileOverviewParams
- type ProfileReposParams
- type ProfileStarredParams
- type ProfileStats
- type ProfileStringsParams
- type PullActionsParams
- type PullCompareBranchesParams
- type PullCompareForkBranchesParams
- type PullCompareForkParams
- type PullNewCommentParams
- type PullPatchUploadParams
- type PullResubmitParams
- type PutStringParams
- type ReplyIssueCommentParams
- type ReplyIssueCommentPlaceholderParams
- type RepoAccessSettingsParams
- type RepoArtifactParams
- type RepoBlobParams
- type RepoBranchesParams
- type RepoCommitParams
- type RepoCompareAllowPullParams
- type RepoCompareDiffParams
- type RepoCompareNewParams
- type RepoCompareParams
- type RepoGeneralSettingsParams
- type RepoIndexParams
- type RepoIssuesParams
- type RepoLogParams
- type RepoNewIssueParams
- type RepoNewPullParams
- type RepoPipelineSettingsParams
- type RepoPullInterdiffParams
- type RepoPullPatchParams
- type RepoPullsParams
- type RepoSettingsParams
- type RepoSingleIssueParams
- type RepoSinglePullParams
- type RepoStarFragmentParams
- type RepoTagsParams
- type RepoTreeParams
- type RepoTreeStats
- type ResubmitResult
- type SignupParams
- type SingleStringParams
- type SpindleDashboardParams
- type SpindleListingParams
- type SpindlesParams
- type StringTimelineParams
- type StringsDashboardParams
- type TermsOfServiceParams
- type ThreadReactionFragmentParams
- type TimelineParams
- type TmplCache
- type UpgradeBannerParams
- type UserEmailsSettingsParams
- type UserKeysSettingsParams
- type UserNotificationSettingsParams
- type UserProfileSettingsParams
- type WorkflowParams
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type EditIssueCommentParams ¶
type EditIssueParams ¶
type EditLabelPanelParams ¶
type EditLabelPanelParams struct {
LoggedInUser *oauth.User
RepoInfo repoinfo.RepoInfo
Defs map[string]*models.LabelDefinition
Subject string
State models.LabelState
}
type EditPinsParams ¶
type EditPinsParams struct {
LoggedInUser *oauth.User
Profile *models.Profile
AllRepos []PinnedRepo
}
type FollowCard ¶
type FollowFragmentParams ¶
type FollowFragmentParams struct {
UserDid string
FollowStatus models.FollowStatus
}
type ForkRepoParams ¶
type GoodFirstIssuesParams ¶
type GoodFirstIssuesParams struct {
LoggedInUser *oauth.User
Issues []models.Issue
RepoGroups []*models.RepoGroup
LabelDefs map[string]*models.LabelDefinition
GfiLabel *models.LabelDefinition
Page pagination.Page
}
type IssueCommentBodyParams ¶
type KnotListingParams ¶
type KnotListingParams struct {
*models.Registration
}
type KnotParams ¶
type KnotsParams ¶
type KnotsParams struct {
LoggedInUser *oauth.User
Registrations []models.Registration
}
type LabelPanelParams ¶
type LabelPanelParams struct {
LoggedInUser *oauth.User
RepoInfo repoinfo.RepoInfo
Defs map[string]*models.LabelDefinition
Subject string
State models.LabelState
}
type LogBlockEndParams ¶
type LogBlockParams ¶
type NotificationItemParams ¶
type NotificationItemParams struct {
Notification *models.Notification
}
type NotificationsParams ¶
type NotificationsParams struct {
LoggedInUser *oauth.User
Notifications []*models.NotificationWithEntity
UnreadCount int
Page pagination.Page
Total int64
}
type Pages ¶
type Pages struct {
// contains filtered or unexported fields
}
func NewPages ¶
func (*Pages) EditBioFragment ¶
func (p *Pages) EditBioFragment(w io.Writer, params EditBioParams) error
func (*Pages) EditIssueCommentFragment ¶
func (p *Pages) EditIssueCommentFragment(w io.Writer, params EditIssueCommentParams) error
func (*Pages) EditIssueFragment ¶
func (p *Pages) EditIssueFragment(w io.Writer, params EditIssueParams) error
func (*Pages) EditLabelPanel ¶
func (p *Pages) EditLabelPanel(w io.Writer, params EditLabelPanelParams) error
func (*Pages) EditPinsFragment ¶
func (p *Pages) EditPinsFragment(w io.Writer, params EditPinsParams) error
func (*Pages) FollowFragment ¶
func (p *Pages) FollowFragment(w io.Writer, params FollowFragmentParams) error
func (*Pages) GoodFirstIssues ¶
func (p *Pages) GoodFirstIssues(w io.Writer, params GoodFirstIssuesParams) error
func (*Pages) HxLocation ¶
func (s *Pages) HxLocation(w http.ResponseWriter, location string)
HxLocation is an SPA-style navigation to a new location.
func (*Pages) HxRedirect ¶
func (s *Pages) HxRedirect(w http.ResponseWriter, location string)
HxRedirect is a full page reload with a new location.
func (*Pages) HxRefresh ¶
func (s *Pages) HxRefresh(w http.ResponseWriter)
HxRefresh is a client-side full refresh of the page.
func (*Pages) IssueCommentBodyFragment ¶
func (p *Pages) IssueCommentBodyFragment(w io.Writer, params IssueCommentBodyParams) error
func (*Pages) KnotListing ¶
func (p *Pages) KnotListing(w io.Writer, params KnotListingParams) error
func (*Pages) LogBlockEnd ¶
func (p *Pages) LogBlockEnd(w io.Writer, params LogBlockEndParams) error
func (*Pages) Notice ¶
func (s *Pages) Notice(w http.ResponseWriter, id, msg string)
Notice performs a hx-oob-swap to replace the content of an element with a message. Pass the id of the element and the message to display.
func (*Pages) NotificationCount ¶
func (p *Pages) NotificationCount(w io.Writer, params NotificationCountParams) error
func (*Pages) NotificationItem ¶
func (p *Pages) NotificationItem(w io.Writer, params NotificationItemParams) error
func (*Pages) Notifications ¶
func (p *Pages) Notifications(w io.Writer, params NotificationsParams) error
func (*Pages) PrivacyPolicy ¶
func (p *Pages) PrivacyPolicy(w io.Writer, params PrivacyPolicyParams) error
func (*Pages) ProfileFollowers ¶
func (p *Pages) ProfileFollowers(w io.Writer, params ProfileFollowersParams) error
func (*Pages) ProfileFollowing ¶
func (p *Pages) ProfileFollowing(w io.Writer, params ProfileFollowingParams) error
func (*Pages) ProfileOverview ¶
func (p *Pages) ProfileOverview(w io.Writer, params ProfileOverviewParams) error
func (*Pages) ProfileRepos ¶
func (p *Pages) ProfileRepos(w io.Writer, params ProfileReposParams) error
func (*Pages) ProfileStarred ¶
func (p *Pages) ProfileStarred(w io.Writer, params ProfileStarredParams) error
func (*Pages) ProfileStrings ¶
func (p *Pages) ProfileStrings(w io.Writer, params ProfileStringsParams) error
func (*Pages) PullActionsFragment ¶
func (p *Pages) PullActionsFragment(w io.Writer, params PullActionsParams) error
func (*Pages) PullCompareBranchesFragment ¶
func (p *Pages) PullCompareBranchesFragment(w io.Writer, params PullCompareBranchesParams) error
func (*Pages) PullCompareForkBranchesFragment ¶
func (p *Pages) PullCompareForkBranchesFragment(w io.Writer, params PullCompareForkBranchesParams) error
func (*Pages) PullCompareForkFragment ¶
func (p *Pages) PullCompareForkFragment(w io.Writer, params PullCompareForkParams) error
func (*Pages) PullNewCommentFragment ¶
func (p *Pages) PullNewCommentFragment(w io.Writer, params PullNewCommentParams) error
func (*Pages) PullPatchUploadFragment ¶
func (p *Pages) PullPatchUploadFragment(w io.Writer, params PullPatchUploadParams) error
func (*Pages) PullResubmitFragment ¶
func (p *Pages) PullResubmitFragment(w io.Writer, params PullResubmitParams) error
func (*Pages) ReplyIssueCommentFragment ¶
func (p *Pages) ReplyIssueCommentFragment(w io.Writer, params ReplyIssueCommentParams) error
func (*Pages) ReplyIssueCommentPlaceholderFragment ¶
func (p *Pages) ReplyIssueCommentPlaceholderFragment(w io.Writer, params ReplyIssueCommentPlaceholderParams) error
func (*Pages) RepoAccessSettings ¶
func (p *Pages) RepoAccessSettings(w io.Writer, params RepoAccessSettingsParams) error
func (*Pages) RepoArtifactFragment ¶
func (p *Pages) RepoArtifactFragment(w io.Writer, params RepoArtifactParams) error
func (*Pages) RepoBranches ¶
func (p *Pages) RepoBranches(w io.Writer, params RepoBranchesParams) error
func (*Pages) RepoCompare ¶
func (p *Pages) RepoCompare(w io.Writer, params RepoCompareParams) error
func (*Pages) RepoCompareAllowPullFragment ¶
func (p *Pages) RepoCompareAllowPullFragment(w io.Writer, params RepoCompareAllowPullParams) error
func (*Pages) RepoCompareDiff ¶
func (p *Pages) RepoCompareDiff(w io.Writer, params RepoCompareDiffParams) error
func (*Pages) RepoCompareNew ¶
func (p *Pages) RepoCompareNew(w io.Writer, params RepoCompareNewParams) error
func (*Pages) RepoGeneralSettings ¶
func (p *Pages) RepoGeneralSettings(w io.Writer, params RepoGeneralSettingsParams) error
func (*Pages) RepoIndexPage ¶
func (p *Pages) RepoIndexPage(w io.Writer, params RepoIndexParams) error
func (*Pages) RepoNewIssue ¶
func (p *Pages) RepoNewIssue(w io.Writer, params RepoNewIssueParams) error
func (*Pages) RepoNewPull ¶
func (p *Pages) RepoNewPull(w io.Writer, params RepoNewPullParams) error
func (*Pages) RepoPipelineSettings ¶
func (p *Pages) RepoPipelineSettings(w io.Writer, params RepoPipelineSettingsParams) error
func (*Pages) RepoPullInterdiffPage ¶
func (p *Pages) RepoPullInterdiffPage(w io.Writer, params RepoPullInterdiffParams) error
this name is a mouthful
func (*Pages) RepoPullPatchPage ¶
func (p *Pages) RepoPullPatchPage(w io.Writer, params RepoPullPatchParams) error
this name is a mouthful
func (*Pages) RepoSettings ¶
func (p *Pages) RepoSettings(w io.Writer, params RepoSettingsParams) error
func (*Pages) RepoSingleIssue ¶
func (p *Pages) RepoSingleIssue(w io.Writer, params RepoSingleIssueParams) error
func (*Pages) RepoSinglePull ¶
func (p *Pages) RepoSinglePull(w io.Writer, params RepoSinglePullParams) error
func (*Pages) RepoStarFragment ¶
func (p *Pages) RepoStarFragment(w io.Writer, params RepoStarFragmentParams) error
func (*Pages) SingleString ¶
func (p *Pages) SingleString(w io.Writer, params SingleStringParams) error
func (*Pages) SpindleDashboard ¶
func (p *Pages) SpindleDashboard(w io.Writer, params SpindleDashboardParams) error
func (*Pages) SpindleListing ¶
func (p *Pages) SpindleListing(w io.Writer, params SpindleListingParams) error
func (*Pages) StringsDashboard ¶
func (p *Pages) StringsDashboard(w io.Writer, params StringsDashboardParams) error
func (*Pages) StringsTimeline ¶
func (p *Pages) StringsTimeline(w io.Writer, params StringTimelineParams) error
func (*Pages) TermsOfService ¶
func (p *Pages) TermsOfService(w io.Writer, params TermsOfServiceParams) error
func (*Pages) ThreadReactionFragment ¶
func (p *Pages) ThreadReactionFragment(w io.Writer, params ThreadReactionFragmentParams) error
func (*Pages) UpgradeBanner ¶
func (p *Pages) UpgradeBanner(w io.Writer, params UpgradeBannerParams) error
func (*Pages) UserEmailsSettings ¶
func (p *Pages) UserEmailsSettings(w io.Writer, params UserEmailsSettingsParams) error
func (*Pages) UserKeysSettings ¶
func (p *Pages) UserKeysSettings(w io.Writer, params UserKeysSettingsParams) error
func (*Pages) UserNotificationSettings ¶
func (p *Pages) UserNotificationSettings(w io.Writer, params UserNotificationSettingsParams) error
type PipelinesParams ¶
type PrivacyPolicyParams ¶
type ProfileCard ¶
type ProfileCard struct {
UserDid string
UserHandle string
FollowStatus models.FollowStatus
Punchcard *models.Punchcard
Profile *models.Profile
Stats ProfileStats
Active string
}
func (*ProfileCard) GetTabs ¶
func (p *ProfileCard) GetTabs() [][]any
type ProfileFollowersParams ¶
type ProfileFollowersParams struct {
LoggedInUser *oauth.User
Followers []FollowCard
Card *ProfileCard
Active string
}
type ProfileFollowingParams ¶
type ProfileFollowingParams struct {
LoggedInUser *oauth.User
Following []FollowCard
Card *ProfileCard
Active string
}
type ProfileOverviewParams ¶
type ProfileOverviewParams struct {
LoggedInUser *oauth.User
Repos []models.Repo
CollaboratingRepos []models.Repo
ProfileTimeline *models.ProfileTimeline
Card *ProfileCard
Active string
}
type ProfileReposParams ¶
type ProfileStarredParams ¶
type ProfileStats ¶
type ProfileStringsParams ¶
type PullActionsParams ¶
type PullActionsParams struct {
LoggedInUser *oauth.User
RepoInfo repoinfo.RepoInfo
Pull *models.Pull
RoundNumber int
MergeCheck types.MergeCheckResponse
ResubmitCheck ResubmitResult
BranchDeleteStatus *models.BranchDeleteStatus
Stack models.Stack
}
type PullCompareBranchesParams ¶
type PullCompareForkBranchesParams ¶
type PullCompareForkParams ¶
type PullNewCommentParams ¶
type PullResubmitParams ¶
type PutStringParams ¶
type ReplyIssueCommentParams ¶
type ReplyIssueCommentPlaceholderParams ¶
type RepoAccessSettingsParams ¶
type RepoArtifactParams ¶
type RepoBlobParams ¶
type RepoBranchesParams ¶
type RepoCommitParams ¶
type RepoCommitParams struct {
LoggedInUser *oauth.User
RepoInfo repoinfo.RepoInfo
Active string
EmailToDid map[string]string
Pipeline *models.Pipeline
DiffOpts types.DiffOpts
// singular because it's always going to be just one
VerifiedCommit commitverify.VerifiedCommits
types.RepoCommitResponse
}
type RepoCompareAllowPullParams ¶
type RepoCompareDiffParams ¶
type RepoCompareNewParams ¶
type RepoCompareParams ¶
type RepoGeneralSettingsParams ¶
type RepoIndexParams ¶
type RepoIndexParams struct {
LoggedInUser *oauth.User
RepoInfo repoinfo.RepoInfo
Active string
TagMap map[string][]string
CommitsTrunc []*object.Commit
TagsTrunc []*types.TagReference
BranchesTrunc []types.Branch
// ForkInfo *types.ForkInfo
HTMLReadme template.HTML
Raw bool
EmailToDid map[string]string
VerifiedCommits commitverify.VerifiedCommits
Languages []types.RepoLanguageDetails
Pipelines map[string]models.Pipeline
NeedsKnotUpgrade bool
types.RepoIndexResponse
}
type RepoIssuesParams ¶
type RepoLogParams ¶
type RepoNewIssueParams ¶
type RepoNewPullParams ¶
type RepoPipelineSettingsParams ¶
type RepoPullInterdiffParams ¶
type RepoPullPatchParams ¶
type RepoPullsParams ¶
type RepoSettingsParams ¶
type RepoSingleIssueParams ¶
type RepoSingleIssueParams struct {
LoggedInUser *oauth.User
RepoInfo repoinfo.RepoInfo
Active string
Issue *models.Issue
CommentList []models.CommentListItem
LabelDefs map[string]*models.LabelDefinition
OrderedReactionKinds []models.ReactionKind
Reactions map[models.ReactionKind]models.ReactionDisplayData
UserReacted map[models.ReactionKind]bool
}
type RepoSinglePullParams ¶
type RepoSinglePullParams struct {
LoggedInUser *oauth.User
RepoInfo repoinfo.RepoInfo
Active string
Pull *models.Pull
Stack models.Stack
AbandonedPulls []*models.Pull
BranchDeleteStatus *models.BranchDeleteStatus
MergeCheck types.MergeCheckResponse
ResubmitCheck ResubmitResult
Pipelines map[string]models.Pipeline
OrderedReactionKinds []models.ReactionKind
Reactions map[models.ReactionKind]models.ReactionDisplayData
UserReacted map[models.ReactionKind]bool
LabelDefs map[string]*models.LabelDefinition
}
type RepoStarFragmentParams ¶
type RepoTagsParams ¶
type RepoTreeParams ¶
type RepoTreeParams struct {
LoggedInUser *oauth.User
RepoInfo repoinfo.RepoInfo
Active string
BreadCrumbs [][]string
TreePath string
Raw bool
HTMLReadme template.HTML
types.RepoTreeResponse
}
func (RepoTreeParams) TreeStats ¶
func (r RepoTreeParams) TreeStats() RepoTreeStats
type ResubmitResult ¶
type ResubmitResult uint64
const ( ShouldResubmit ResubmitResult = iota ShouldNotResubmit Unknown )
func (ResubmitResult) No ¶
func (r ResubmitResult) No() bool
func (ResubmitResult) Unknown ¶
func (r ResubmitResult) Unknown() bool
func (ResubmitResult) Yes ¶
func (r ResubmitResult) Yes() bool
type SingleStringParams ¶
type SpindleDashboardParams ¶
type SpindlesParams ¶
type StringTimelineParams ¶
type StringsDashboardParams ¶
type StringsDashboardParams struct {
LoggedInUser *oauth.User
Card ProfileCard
Strings []models.String
}
type TermsOfServiceParams ¶
type ThreadReactionFragmentParams ¶
type TimelineParams ¶
type TimelineParams struct {
LoggedInUser *oauth.User
Timeline []models.TimelineEvent
Repos []models.Repo
GfiLabel *models.LabelDefinition
}
type TmplCache ¶
type TmplCache[K comparable, V any] struct { // contains filtered or unexported fields }
func NewTmplCache ¶
func NewTmplCache[K comparable, V any]() *TmplCache[K, V]
type UpgradeBannerParams ¶
type UpgradeBannerParams struct {
Registrations []models.Registration
Spindles []models.Spindle
}
type UserEmailsSettingsParams ¶
type UserKeysSettingsParams ¶
type UserNotificationSettingsParams ¶
type UserProfileSettingsParams ¶
Source Files
¶
- cache.go
- funcmap.go
- htmx.go
- pages.go
Click to show internal directories.
Click to hide internal directories.