Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportConfiguration ¶
func ExportConfiguration(c *Configuration, path string) error
ExportConfiguration -
func StringToTime ¶
StringToTime converts string to time.
Types ¶
type Configuration ¶
type Configuration struct {
Interval time.Duration
Language string
Pushed time.Duration
Min int
Max int
Tokens []*github.Token
}
Configuration -
func LoadConfiguration ¶
func LoadConfiguration(path string) (*Configuration, error)
LoadConfiguration -
type GitHubDetectorConfiguration ¶
type GitHubDetectorConfiguration struct {
ConfigurationPath string
MirrorPath string
StorePath StorePath
Configuration *Configuration
Mirrors *sync.Map
GPool github.Pool
SPool *scheduler.Pool
}
GitHubDetectorConfiguration is the main context object for the detector.
Click to show internal directories.
Click to hide internal directories.