Documentation ¶
Index ¶
- func GetFeedType(name string, req *http.Request) (bool, string, string)
- func RenderBranchFeed(ctx *context.Context)
- func ShowBranchFeed(ctx *context.Context, repo *repo.Repository, formatType string)
- func ShowFileFeed(ctx *context.Context, repo *repo.Repository, formatType string)
- func ShowReleaseFeed(ctx *context.Context, repo *repo_model.Repository, isReleasesOnly bool, ...)
- func ShowRepoFeed(ctx *context.Context, repo *repo_model.Repository, formatType string)
- func ShowUserFeedAtom(ctx *context.Context)
- func ShowUserFeedRSS(ctx *context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFeedType ¶ added in v1.17.0
GetFeedType return if it is a feed request and altered name and feed type.
func RenderBranchFeed ¶ added in v1.20.0
RenderBranchFeed render format for branch or file
func ShowBranchFeed ¶ added in v1.20.0
func ShowBranchFeed(ctx *context.Context, repo *repo.Repository, formatType string)
ShowBranchFeed shows tags and/or releases on the repo as RSS / Atom feed
func ShowFileFeed ¶ added in v1.20.0
func ShowFileFeed(ctx *context.Context, repo *repo.Repository, formatType string)
ShowFileFeed shows tags and/or releases on the repo as RSS / Atom feed
func ShowReleaseFeed ¶ added in v1.17.4
func ShowReleaseFeed(ctx *context.Context, repo *repo_model.Repository, isReleasesOnly bool, formatType string)
shows tags and/or releases on the repo as RSS / Atom feed
func ShowRepoFeed ¶ added in v1.17.0
func ShowRepoFeed(ctx *context.Context, repo *repo_model.Repository, formatType string)
ShowRepoFeed shows user activity on the repo as RSS / Atom feed
func ShowUserFeedAtom ¶ added in v1.17.0
ShowUserFeedAtom show user activity as Atom feed
func ShowUserFeedRSS ¶ added in v1.17.0
ShowUserFeedRSS show user activity as RSS feed
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.