Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAccessBlocked = errors.New("repository access blocked")
View Source
var ErrNotFound = errors.New("not found on GitHub")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Token string // the personal acesss token, if set, the common rate limit is 5000 reqs/hour, otherwise, it will be 60 reqs/hour.
}
GitHub rest api client
func (*Client) GetDeveloper ¶
func (*Client) GetRepository ¶
type SyncHandler ¶ added in v0.6.3
type SyncHandler struct {
// contains filtered or unexported fields
}
func NewSyncHandler ¶ added in v0.6.3
func NewSyncHandler(db database.DB, repositoryRepo *model.GhRepositoryRepo, developerRepo *model.DeveloperRepo, client *Client) *SyncHandler
Click to show internal directories.
Click to hide internal directories.