package
1.2.0-rc1
Repository: https://github.com/adelowo/gitea.git
Documentation: pkg.go.dev

# Functions

AddEmail add email for me see https://github.com/gogits/go-gogs-client/wiki/Users-Emails#add-email-addresses.
CheckFollowing check if the repo is followed by user.
CheckMyFollowing check if the repo is followed by me.
CreateAccessToken create access tokens.
CreateGPGKey associate a GPG key to the current user.
CreatePublicKey create one public key for me.
CreateUserGPGKey creates new GPG key to given user by ID.
CreateUserPublicKey creates new public key to given user by ID.
DeleteEmail delete email see https://github.com/gogits/go-gogs-client/wiki/Users-Emails#delete-email-addresses.
DeleteGPGKey remove a GPG key associated to the current user.
DeletePublicKey delete one public key of mine.
Follow follow one repository.
GetAuthenticatedUser get curent user's information.
GetGPGKey get the GPG key based on a id.
GetInfo get user's information.
GetMyStarredRepos returns the repos that the authenticated user has starred.
GetMyWatchedRepos returns the repos that the authenticated user is watching.
GetPublicKey get one public key.
GetStarredRepos returns the repos that the user specified by the APIContext has starred.
GetUserByParams returns user whose name is presented in URL paramenter.
GetUserByParamsName get user by name.
GetWatchedRepos returns the repos that the user specified in ctx is watching.
HandleAddGPGKeyError handle add GPGKey error.
IsStarring returns whether the authenticated is starring the repo.
IsWatching returns whether the authenticated user is watching the repo specified in ctx.
ListAccessTokens list all the access tokens.
ListEmails list all the emails of mine see https://github.com/gogits/go-gogs-client/wiki/Users-Emails#list-email-addresses-for-a-user.
ListFollowers list user's followers.
ListFollowing list user's followings.
ListGPGKeys get the GPG key list of a user.
ListMyFollowers list all my followers.
ListMyFollowing list all my followings.
ListMyGPGKeys get the GPG key list of the logged user.
ListMyPublicKeys list all my public keys.
ListMyRepos - list the repositories you own or have access to.
ListOrgRepos - list the repositories of an organization.
ListPublicKeys list all user's public keys.
ListUserRepos - list the repos owned by the given user.
Search search users.
Star the repo specified in the APIContext, as the authenticated user.
Unfollow unfollow one repository.
Unstar the repo specified in the APIContext, as the authenticated user.
Unwatch the repo specified in ctx, as the authenticated user.
Watch the repo specified in ctx, as the authenticated user.