Help us shape the future of Go! Take the 2026 Go Developer Survey

feed

package
v3.1.38 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFeedType

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

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

func RenderBranchFeed

func RenderBranchFeed(ctx *context.Context, feedType string)

RenderBranchFeed render format for branch or file

func RenderBranchFeedAtom

func RenderBranchFeedAtom(ctx *context.Context)

func RenderBranchFeedRSS

func RenderBranchFeedRSS(ctx *context.Context)

func ShowBranchFeed

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

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

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

func ShowRepoFeed(ctx *context.Context, repo *repo_model.Repository, formatType string)

ShowRepoFeed shows user activity on the repo as RSS / Atom feed

func ShowUserFeedAtom

func ShowUserFeedAtom(ctx *context.Context)

ShowUserFeedAtom show user activity as Atom feed

func ShowUserFeedRSS

func ShowUserFeedRSS(ctx *context.Context)

ShowUserFeedRSS show user activity as RSS feed

Types

This section is empty.

Source Files

  • branch.go
  • convert.go
  • file.go
  • profile.go
  • release.go
  • render.go
  • repo.go

Jump to

Keyboard shortcuts

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