user

package
v0.9.99 Latest Latest
Warning

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

Go to latest
Published: Oct 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 GetAuthenticatedUser

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

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

func ListMyFollowers

func ListMyFollowers(ctx *context.APIContext)

func ListMyFollowing

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