user

package
v3.1.17 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionUserFollow

func ActionUserFollow(ctx *context.Context)

ActionUserFollow is for follow/unfollow user request

func AvatarByEmailHash

func AvatarByEmailHash(ctx *context.Context)

AvatarByEmailHash redirects the browser to the email avatar link

func AvatarByUsernameSize

func AvatarByUsernameSize(ctx *context.Context)

AvatarByUsernameSize 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 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 notification list page

func OwnerProfile

func OwnerProfile(ctx *context.Context)

OwnerProfile render profile page for a user or a organization (aka, repo owner)

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 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 SearchCandidates

func SearchCandidates(ctx *context.Context)

SearchCandidates searches candidate users for dropdown list

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

func UsernameSubRoute(ctx *context.Context)

func ViewPackageVersion

func ViewPackageVersion(ctx *context.Context)

ViewPackageVersion displays a single package version

Types

This section is empty.

Source Files

  • avatar.go
  • code.go
  • home.go
  • notification.go
  • package.go
  • profile.go
  • search.go
  • stop_watch.go

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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