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