MCPcopy Create free account

hub / github.com/alcacoop/go-github-client / functions

Functions68 in github.com/alcacoop/go-github-client

↓ 16 callersMethodNewAPIRequest
(method, url string, body io.Reader)
client/client.go:59
↓ 16 callersMethodRunRequest
(req *http.Request, httpc *http.Client)
client/client.go:80
↓ 8 callersMethodJson
Lazily parse body as json and return unmarshalled results.
client/result.go:80
↓ 4 callersFunctionNewGithubClient
(login string, tokenOrPassword string, authMode ghAuthModes)
client/client.go:49
↓ 4 callersMethodgetPage
(fullPageUrl string)
client/pagination.go:89
↓ 3 callersMethodGetString
(attr string)
client/json_data.go:27
↓ 3 callersMethodnewAPIRequest
(method, url string, body io.Reader)
client/client.go:63
↓ 2 callersMethodIsValid
TBD
issues/list.go:59
↓ 2 callersMethodIsValid
TBD
issues/issue.go:47
↓ 2 callersMethodIsValid
validate gists create payload
gists/gist.go:53
↓ 1 callersMethodCreateGist
create a new gists using a given GistDataCreate struct. It returns a GithubResult and an error.
gists/gist.go:100
↓ 1 callersMethodGetFloat
(attr string)
client/json_data.go:35
↓ 1 callersMethodGetInt
(attr string)
client/json_data.go:39
↓ 1 callersMethodGetNextPage
request the next page and return a new GithubResult or error (ErrNoNextPageUrl)
client/pagination.go:104
↓ 1 callersMethodGetObject
(idx int)
client/json_data.go:69
↓ 1 callersMethodGetPublicGistsList
Request the list of public gists It returns a GithubResult and an error.
gists/list.go:46
↓ 1 callersMethodGetRepoIssuesList
TBD
issues/list.go:119
↓ 1 callersMethodGetUserInfo
Request github user info about a defined username. It returns a GithubResult and an error.
users/users.go:43
↓ 1 callersMethodHasFirstPage
returns true if the result has a first page link
client/pagination.go:70
↓ 1 callersMethodHasLastPage
returns true if the result has a last page link
client/pagination.go:80
↓ 1 callersMethodHasNextPage
returns true if the result has a next page
client/pagination.go:50
↓ 1 callersMethodHasPrevPage
returns true if the result has a previous page
client/pagination.go:60
↓ 1 callersMethodIsValid
()
client/client.go:33
↓ 1 callersMethodUpdateGist
update an existent gists using a given gist id and GistDataCreate struct. It returns a GithubResult and an error.
gists/gist.go:127
↓ 1 callersFunctionnewGithubResult
(ghc *GithubClient, resp *http.Response)
client/result.go:35
↓ 1 callersMethodparseBody
()
client/result.go:51
↓ 1 callersMethodparseHeader
()
client/result.go:70
↓ 1 callersMethodparsePageUrls
(link string)
client/pagination.go:13
MethodCreateIssue
TBD
issues/issue.go:53
MethodGetArray
(attr string)
client/json_data.go:47
MethodGetArray
(idx int)
client/json_data.go:73
MethodGetAuthenticatedUserInfo
Request the current autenticated user info. It returns a GithubResult and an error.
users/users.go:27
MethodGetBool
(attr string)
client/json_data.go:31
MethodGetBool
(idx int)
client/json_data.go:57
MethodGetFirstPage
request the first page and return a new GithubResult or error (ErrNoFirstPageUrl)
client/pagination.go:122
MethodGetFloat
(idx int)
client/json_data.go:61
MethodGetGist
Request the content of a gists from a given gist id. It returns a GithubResult and an error.
gists/gist.go:22
MethodGetGistsList
Request the list of authenticated user gists (or public if used anonymously) It returns a GithubResult and an error.
gists/list.go:14
MethodGetGistsListByUser
Request the list of public gists from a given github username. It returns a GithubResult and an error.
gists/list.go:62
MethodGetInt
(idx int)
client/json_data.go:65
MethodGetIssue
Request the content of a issue from a given issue id. It returns a GithubResult and an error.
issues/issue.go:22
MethodGetLastPage
request the last page and return a new GithubResult or error (ErrNoLastPageUrl)
client/pagination.go:131
MethodGetMap
(attr string)
client/json_data.go:43
MethodGetPrevPage
request the previous page and return a new GithubResult or error (ErrNoPrevPageUrl)
client/pagination.go:113
MethodGetResourceFromUrl
TBD
client/client.go:93
MethodGetStarredGistsList
Request the list of authenticated user starred gists It returns a GithubResult and an error.
gists/list.go:30
MethodGetString
(idx int)
client/json_data.go:53
MethodGetUserIssuesList
TBD
issues/list.go:65
MethodIsPaginated
returns true if the result is paginated
client/pagination.go:39
MethodIsSuccess
tests if server response status is 200
client/result.go:47
MethodIsValid
()
issues/list.go:113
MethodIsValid
TBD
issues/issue.go:94
MethodIsValid
validate gists update payload
gists/gist.go:74
MethodJsonArray
TBD
client/result.go:101
MethodJsonMap
TBD
client/result.go:94
FunctionNewGistDataCreate
create a new GistDataCreate struct
gists/gist.go:45
FunctionNewGistDataUpdate
create a new GistDataUpdate struct
gists/gist.go:66
FunctionNewGists
create a new github Gists client from an existent GithubClient
gists/gists.go:17
FunctionNewIssues
create a new github issues client from an existent GithubClient
issues/issues.go:17
FunctionNewUsers
create a new github Users client from an existent GithubClient
users/users.go:18
FunctionTestCreateNewAPIRequest
(t *testing.T)
client/client_test.go:30
FunctionTestGhAuthModesValidation
(t *testing.T)
client/client_test.go:12
FunctionTestJsonData
(t *testing.T)
client/json_data_test.go:12
MethodUpdateIssue
TBD
issues/issue.go:100
Functionmain
()
examples/gh_get_gistslist/main.go:14
Functionmain
()
examples/gh_create_gist/main.go:14
Functionmain
()
examples/gh_get_userinfo/main.go:14
Functionmain
()
examples/gh_get_issueslist/main.go:15