Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
LDAP ldap.Config `yaml:"ldap" json:"ldap"`
Cache cache.Config `yaml:"cache" json:"cache"`
Crawl Crawl `yaml:"crawl" json:"crawl"`
}
Config represents the top-level configuration for the gdrive package.
func DefaultConfig ¶
func DefaultConfig() Config
DefaultConfig returns a Config with sensible defaults.
type Crawl ¶
type Crawl struct {
// SkipFolderNames is a list of folder names to skip during crawling.
SkipFolderNames []string `yaml:"skipFolderNames" json:"skipFolderNames"`
// MaxRetries is the maximum number of retries for API calls.
MaxRetries int `yaml:"maxRetries" json:"maxRetries"`
// ConcurrentFolders is the maximum number of folders to crawl concurrently.
ConcurrentFolders int `yaml:"concurrentFolders" json:"concurrentFolders"`
}
Crawl contains configuration for folder crawling.
func DefaultCrawl ¶
func DefaultCrawl() Crawl
DefaultCrawl returns a Crawl config with sensible defaults.
Click to show internal directories.
Click to hide internal directories.