user

package
Version: v0.9.46 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUserPublicKey

func CreateUserPublicKey(ctx *context.APIContext, form api.CreateKeyOption, uid int64)

CreateUserPublicKey creates new public key to given user by ID.

func GetUserByParams

func GetUserByParams(ctx *context.APIContext) *models.User

GetUserByParams returns user whose name is presented in URL paramenter.

func GetUserByParamsName added in v0.8.10

func GetUserByParamsName(ctx *context.APIContext, name string) *models.User

func ListMyFollowers added in v0.8.25

func ListMyFollowers(ctx *context.APIContext)

func ListMyFollowing added in v0.8.25

func ListMyFollowing(ctx *context.APIContext)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL