user

package
v1.19.3 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: MIT Imports: 50 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Action

func Action(ctx *context.Context)

Action response for follow/unfollow user request

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 Dashboard

func Dashboard(ctx *context.Context)

Dashboard render the dashboard 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 Issues

func Issues(ctx *context.Context)

Issues renders the user's issues overview page

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 Milestones

func Milestones(ctx *context.Context)

Milestones render the user milestones page

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 Profile

func Profile(ctx *context.Context)

Profile render user's profile page

func Pulls

func Pulls(ctx *context.Context)

Pulls renders the user's pull request overview page

func RedirectToLastVersion added in v1.17.0

func RedirectToLastVersion(ctx *context.Context)

RedirectToLastVersion redirects to the latest package version

func Search(ctx *context.Context)

Search search users

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 TaskStatus

func TaskStatus(ctx *context.Context)

TaskStatus returns task's status

func ViewPackageVersion added in v1.17.0

func ViewPackageVersion(ctx *context.Context)

ViewPackageVersion displays a single package version

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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