feed

package
v1.21.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2023 License: MIT Imports: 17 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFeedType added in v1.17.0

func GetFeedType(name string, req *http.Request) (bool, string, string)

GetFeedType return if it is a feed request and altered name and feed type.

func RenderBranchFeed added in v1.20.0

func RenderBranchFeed(ctx *context.Context)

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

func ShowUserFeedAtom(ctx *context.Context)

ShowUserFeedAtom show user activity as Atom feed

func ShowUserFeedRSS added in v1.17.0

func ShowUserFeedRSS(ctx *context.Context)

ShowUserFeedRSS show user activity as RSS feed

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL