Documentation
¶
Index ¶
- func Action(ctx *context.Context)
- func AvatarByEmailHash(ctx *context.Context)
- func AvatarByUserName(ctx *context.Context)
- func CodeSearch(ctx *context.Context)
- func Dashboard(ctx *context.Context)
- func DownloadPackageFile(ctx *context.Context)
- func GetNotificationCount(ctx *context.Context)
- func GetStopwatches(ctx *context.Context)
- func Issues(ctx *context.Context)
- func ListPackageVersions(ctx *context.Context)
- func ListPackages(ctx *context.Context)
- func Milestones(ctx *context.Context)
- func NewAvailable(ctx *context.Context)
- func NotificationPurgePost(ctx *context.Context)
- func NotificationStatusPost(ctx *context.Context)
- func NotificationSubscriptions(ctx *context.Context)
- func NotificationWatching(ctx *context.Context)
- func Notifications(ctx *context.Context)
- func PackageSettings(ctx *context.Context)
- func PackageSettingsPost(ctx *context.Context)
- func Profile(ctx *context.Context)
- func Pulls(ctx *context.Context)
- func RedirectToLastVersion(ctx *context.Context)
- func Search(ctx *context.Context)
- func ShowGPGKeys(ctx *context.Context)
- func ShowSSHKeys(ctx *context.Context)
- func TaskStatus(ctx *context.Context)
- func UsernameSubRoute(ctx *context.Context)
- func ViewPackageVersion(ctx *context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AvatarByEmailHash ¶
func AvatarByEmailHash(ctx *context.Context)
AvatarByEmailHash redirects the browser to the email avatar link
func AvatarByUserName ¶ added in v1.16.0
func AvatarByUserName(ctx *context.Context)
AvatarByUserName redirect browser to user avatar of requested size
func CodeSearch ¶ added in v1.17.4
func CodeSearch(ctx *context.Context)
CodeSearch render user/organization code search page
func DownloadPackageFile ¶ added in v1.17.0
func DownloadPackageFile(ctx *context.Context)
DownloadPackageFile serves the content of a package file
func GetNotificationCount ¶
func GetNotificationCount(ctx *context.Context)
GetNotificationCount is the middleware that sets the notification count in the context
func GetStopwatches ¶ added in v1.17.0
func GetStopwatches(ctx *context.Context)
GetStopwatches get all stopwatches
func ListPackageVersions ¶ added in v1.17.0
func ListPackageVersions(ctx *context.Context)
ListPackageVersions lists all versions of a package
func ListPackages ¶ added in v1.17.0
func ListPackages(ctx *context.Context)
ListPackages displays a list of all packages of the context user
func NewAvailable ¶ added in v1.17.0
func NewAvailable(ctx *context.Context)
NewAvailable returns the notification counts
func NotificationPurgePost ¶
func NotificationPurgePost(ctx *context.Context)
NotificationPurgePost is a route for 'purging' the list of notifications - marking all unread as read
func NotificationStatusPost ¶
func NotificationStatusPost(ctx *context.Context)
NotificationStatusPost is a route for changing the status of a notification
func NotificationSubscriptions ¶ added in v1.17.4
func NotificationSubscriptions(ctx *context.Context)
NotificationSubscriptions returns the list of subscribed issues
func NotificationWatching ¶ added in v1.17.4
func NotificationWatching(ctx *context.Context)
NotificationWatching returns the list of watching repos
func Notifications ¶
func Notifications(ctx *context.Context)
Notifications is the notifications page
func PackageSettings ¶ added in v1.17.0
func PackageSettings(ctx *context.Context)
PackageSettings displays the package settings page
func PackageSettingsPost ¶ added in v1.17.0
func PackageSettingsPost(ctx *context.Context)
PackageSettingsPost updates the package settings
func RedirectToLastVersion ¶ added in v1.17.0
func RedirectToLastVersion(ctx *context.Context)
RedirectToLastVersion redirects to the latest package version
func ShowGPGKeys ¶
func ShowGPGKeys(ctx *context.Context)
ShowGPGKeys output all the public GPG keys of user by uid
func ShowSSHKeys ¶
func ShowSSHKeys(ctx *context.Context)
ShowSSHKeys output all the ssh keys of user by uid
func UsernameSubRoute ¶ added in v1.20.0
func UsernameSubRoute(ctx *context.Context)
func ViewPackageVersion ¶ added in v1.17.0
func ViewPackageVersion(ctx *context.Context)
ViewPackageVersion displays a single package version
Types ¶
This section is empty.