Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Github ¶
type Github struct { }
Github represents the Github service
func (*Github) GetStars ¶
func (g *Github) GetStars(starChan chan<- *model.StarResult, token string, user string)
GetStars returns the stars for the specified user (empty string for authenticated user)
func (*Github) GetTrending ¶ added in v0.4.0
func (g *Github) GetTrending(trendingChan chan<- *model.StarResult, token string, language string, verbose bool)
GetTrending returns the trending repositories
type Gitlab ¶ added in v0.4.0
type Gitlab struct { }
Gitlab represents the Gitlab service
func (*Gitlab) GetStars ¶ added in v0.4.0
func (g *Gitlab) GetStars(starChan chan<- *model.StarResult, token string, user string)
GetStars returns the stars for the specified user (empty string for authenticated user)
func (*Gitlab) GetTrending ¶ added in v0.4.0
func (g *Gitlab) GetTrending(trendingChan chan<- *model.StarResult, token string, language string, verbose bool)
GetTrending returns the trending repositories
type NotFound ¶
type NotFound struct { }
NotFound is used when the specified service is not found
func (*NotFound) GetStars ¶
func (nf *NotFound) GetStars(starChan chan<- *model.StarResult, token string, user string)
GetStars is not implemented
func (*NotFound) GetTrending ¶ added in v0.4.0
func (nf *NotFound) GetTrending(trendingChan chan<- *model.StarResult, token string, language string, verbose bool)
GetTrending is not implemented
Click to show internal directories.
Click to hide internal directories.