Documentation ¶
Index ¶
- func AddEmail(ctx *context.APIContext, form api.CreateEmailOption)
- func CheckFollowing(ctx *context.APIContext)
- func CheckMyFollowing(ctx *context.APIContext)
- func CreateAccessToken(ctx *context.APIContext, form api.CreateAccessTokenOption)
- func CreatePublicKey(ctx *context.APIContext, form api.CreateKeyOption)
- func CreateUserPublicKey(ctx *context.APIContext, form api.CreateKeyOption, uid int64)
- func DeleteEmail(ctx *context.APIContext, form api.CreateEmailOption)
- func DeletePublicKey(ctx *context.APIContext)
- func Follow(ctx *context.APIContext)
- func GetAuthenticatedUser(ctx *context.APIContext)
- func GetInfo(ctx *context.APIContext)
- func GetPublicKey(ctx *context.APIContext)
- func GetUserByParams(ctx *context.APIContext) *models.User
- func GetUserByParamsName(ctx *context.APIContext, name string) *models.User
- func ListAccessTokens(ctx *context.APIContext)
- func ListEmails(ctx *context.APIContext)
- func ListFollowers(ctx *context.APIContext)
- func ListFollowing(ctx *context.APIContext)
- func ListMyFollowers(ctx *context.APIContext)
- func ListMyFollowing(ctx *context.APIContext)
- func ListMyPublicKeys(ctx *context.APIContext)
- func ListPublicKeys(ctx *context.APIContext)
- func Search(ctx *context.APIContext)
- func Unfollow(ctx *context.APIContext)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddEmail ¶ added in v0.8.10
func AddEmail(ctx *context.APIContext, form api.CreateEmailOption)
https://github.com/gogits/go-gogs-client/wiki/Users-Emails#add-email-addresses
func CheckFollowing ¶ added in v0.8.25
func CheckFollowing(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Users-Followers#check-if-one-user-follows-another
func CheckMyFollowing ¶ added in v0.8.25
func CheckMyFollowing(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Users-Followers#check-if-you-are-following-a-user
func CreateAccessToken ¶
func CreateAccessToken(ctx *context.APIContext, form api.CreateAccessTokenOption)
https://github.com/gogits/go-gogs-client/wiki/Users#create-a-access-token
func CreatePublicKey ¶
func CreatePublicKey(ctx *context.APIContext, form api.CreateKeyOption)
https://github.com/gogits/go-gogs-client/wiki/Users-Public-Keys#create-a-public-key
func CreateUserPublicKey ¶
func CreateUserPublicKey(ctx *context.APIContext, form api.CreateKeyOption, uid int64)
CreateUserPublicKey creates new public key to given user by ID.
func DeleteEmail ¶ added in v0.8.10
func DeleteEmail(ctx *context.APIContext, form api.CreateEmailOption)
https://github.com/gogits/go-gogs-client/wiki/Users-Emails#delete-email-addresses
func DeletePublicKey ¶
func DeletePublicKey(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Users-Public-Keys#delete-a-public-key
func Follow ¶ added in v0.8.25
func Follow(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Users-Followers#follow-a-user
func GetAuthenticatedUser ¶ added in v0.9.97
func GetAuthenticatedUser(ctx *context.APIContext)
func GetInfo ¶
func GetInfo(ctx *context.APIContext)
func GetPublicKey ¶
func GetPublicKey(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Users-Public-Keys#get-a-single-public-key
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 ListAccessTokens ¶
func ListAccessTokens(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Users#list-access-tokens-for-a-user
func ListEmails ¶ added in v0.8.10
func ListEmails(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Users-Emails#list-email-addresses-for-a-user
func ListFollowers ¶ added in v0.8.25
func ListFollowers(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Users-Followers#list-followers-of-a-user
func ListFollowing ¶ added in v0.8.25
func ListFollowing(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Users-Followers#list-users-followed-by-another-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 ListMyPublicKeys ¶
func ListMyPublicKeys(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Users-Public-Keys#list-your-public-keys
func ListPublicKeys ¶
func ListPublicKeys(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Users-Public-Keys#list-public-keys-for-a-user
func Search ¶
func Search(ctx *context.APIContext)
func Unfollow ¶ added in v0.8.25
func Unfollow(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Users-Followers#unfollow-a-user
Types ¶
This section is empty.