user

package
v0.9.128 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2017 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 GetAuthenticatedUser added in v0.9.97

func GetAuthenticatedUser(ctx *context.APIContext)

func GetInfo

func GetInfo(ctx *context.APIContext)

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)
func Search(ctx *context.APIContext)

Types

This section is empty.

Jump to

Keyboard shortcuts

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