Documentation
¶
Index ¶
- Constants
- func AddOwnerRepoGitLFSRoutes(m *web.Router, middlewares ...any)
- func BlockExpensive() func(next http.Handler) http.Handler
- func ChiRoutePathHandler() func(h http.Handler) http.Handler
- func DownloadActionsRunJobLogs(ctx *context.Base, ctxRepo *repo_model.Repository, ...) error
- func DownloadActionsRunJobLogsWithIndex(ctx *context.Base, ctxRepo *repo_model.Repository, runID, jobIndex int64) error
- func FetchRedirectDelegate(resp http.ResponseWriter, req *http.Request)
- func FindHeadRepo(ctx context.Context, baseRepo *repo_model.Repository, headUserID int64) (*repo_model.Repository, error)
- func ForwardedHeadersHandler(limit int, trustedProxies []string) func(h http.Handler) http.Handler
- func GetHeadOwnerAndRepo(ctx context.Context, baseRepo *repo_model.Repository, ...) (headOwner *user_model.User, headRepo *repo_model.Repository, err error)
- func InitDBEngine(ctx context.Context) (err error)
- func MustInitSessioner() func(next http.Handler) http.Handler
- func PageGlobalData(ctx *context.Context)
- func ParseAPIDeadlineToEndOfDay(t *time.Time) (timeutil.TimeStamp, error)
- func ParseDeadlineDateToEndOfDay(date string) (timeutil.TimeStamp, error)
- func ParseIssueFilterStateIsClosed(state string) optional.Option[bool]
- func ParseIssueFilterTypeIsPull(typ string) optional.Option[bool]
- func PrepareCodeSearch(ctx *context.Context) (ret struct{ ... })
- func ProtocolMiddlewares() (handlers []any)
- func QoS() func(next http.Handler) http.Handler
- func RenderMarkup(ctx *context.Base, ctxRepo *context.Repository, ...)
- func RenderPanicErrorPage(w http.ResponseWriter, req *http.Request, err any)
- func RequestContextHandler() func(h http.Handler) http.Handler
- func ServeBlob(ctx *context.Base, repo *repo_model.Repository, filePath string, ...) error
- func ServeContentByReadSeeker(ctx *context.Base, filePath string, modTime *time.Time, reader io.ReadSeeker)
- func ServeContentByReader(ctx *context.Base, filePath string, size int64, reader io.Reader)
- type AuthResult
- type CompareRouterReq
- type Priority
- type StopwatchTmplInfo
- type VerifyOptions
Constants ¶
View Source
const ( LowPriority = Priority(-10) DefaultPriority = Priority(0) HighPriority = Priority(10) )
View Source
const RouterMockPointCommonLFS = "common-lfs"
Variables ¶
This section is empty.