Documentation ¶
Index ¶
- func Action(ctx *context.Context)
- func AvatarByEmailHash(ctx *context.Context)
- func AvatarByUserName(ctx *context.Context)
- func Dashboard(ctx *context.Context)
- func GetNotificationCount(c *context.Context)
- func GetUserByName(ctx *context.Context, name string) *user_model.User
- func GetUserByParams(ctx *context.Context) *user_model.User
- func Issues(ctx *context.Context)
- func Milestones(ctx *context.Context)
- func NotificationPurgePost(c *context.Context)
- func NotificationStatusPost(c *context.Context)
- func Notifications(c *context.Context)
- func Profile(ctx *context.Context)
- func Pulls(ctx *context.Context)
- func ShowGPGKeys(ctx *context.Context, uid int64)
- func ShowSSHKeys(ctx *context.Context, uid int64)
- func TaskStatus(ctx *context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AvatarByEmailHash ¶
AvatarByEmailHash redirects the browser to the email avatar link
func AvatarByUserName ¶ added in v1.16.0
AvatarByUserName redirect browser to user avatar of requested size
func GetNotificationCount ¶
GetNotificationCount is the middleware that sets the notification count in the context
func GetUserByName ¶
func GetUserByName(ctx *context.Context, name string) *user_model.User
GetUserByName get user by name
func GetUserByParams ¶
func GetUserByParams(ctx *context.Context) *user_model.User
GetUserByParams returns user whose name is presented in URL paramenter.
func NotificationPurgePost ¶
NotificationPurgePost is a route for 'purging' the list of notifications - marking all unread as read
func NotificationStatusPost ¶
NotificationStatusPost is a route for changing the status of a notification
func ShowGPGKeys ¶
ShowGPGKeys output all the public GPG keys of user by uid
func ShowSSHKeys ¶
ShowSSHKeys output all the ssh keys of user by uid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.