user

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 55 Imported by: 0

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

func AvatarByUserName(ctx *context.Context)

AvatarByUserName redirect browser to user avatar of requested size

func CodeSearch

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

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

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

func ListPackageVersions(ctx *context.Context)

ListPackageVersions lists all versions of a package

func ListPackages

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

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

func NotificationSubscriptions(ctx *context.Context)

NotificationSubscriptions returns the list of subscribed issues

func NotificationWatching

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

func PackageSettings(ctx *context.Context)

PackageSettings displays the package settings page

func PackageSettingsPost

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

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 UsernameSubRoute

func UsernameSubRoute(ctx *context.Context)

func ViewPackageVersion

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