Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Git ¶
type Git struct {
// contains filtered or unexported fields
}
Git is the github source
func (*Git) FetchFromOrigin ¶
FetchFromOrigin implements the Source interface
func (*Git) GetHostName ¶
GetHostName implements the Source interface
type GitRecord ¶
type GitRecord struct { Payload string `json:"payload,omitempty"` CreatedAt string `json:created_at,omitempty` }
GitRecord is a record from the api.github.com
type Mock ¶
type Mock struct {
// contains filtered or unexported fields
}
Mock is the mock source, which use file as source
func (*Mock) FetchFromOrigin ¶
FetchFromOrigin implements the Source interface
func (*Mock) GetHostName ¶
GetHostName implements the Source interface
Click to show internal directories.
Click to hide internal directories.