Help us shape the future of Go! Take the 2026 Go Developer Survey

user

package
v0.8.10 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2015 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 *middleware.Context, form api.CreateKeyOption, uid int64)

CreateUserPublicKey creates new public key to given user by ID.

func GetUserByParams

func GetUserByParams(ctx *middleware.Context) *models.User

GetUserByParams returns user whose name is presented in URL paramenter.

func GetUserByParamsName added in v0.8.10

func GetUserByParamsName(ctx *middleware.Context, name string) *models.User

Types

This section is empty.

Jump to

Keyboard shortcuts

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