Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ LogLevel: "warn", ProjectPath: "~/work/projects", Remotes: []info.RemoteInfo{{ Host: "https://gitlab.com", Token: "yourtokenhere", CloneProto: info.CloneProtoSSH, Name: "GitLab", Type: "gitlab", }}, Cache: cacheConfig{ Ttl: 168 * time.Hour, Load: loadConfig{ OwnerOnly: true, }, }, }
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Named keys above maintained for backwards compatibility // Ideally only Gitlabs is used Remotes []info.RemoteInfo LogLevel string `yaml:"logLevel" json:"logLevel" enum:"info,warn,debug,error"` ProjectPath string `yaml:"projectPath" json:"projectPath"` Cache cacheConfig `yaml:"cache" json:"cache"` Dump struct { Full bool `yaml:"full" json:"full"` } `yaml:"dump" json:"dump"` Editor editorConfig `yaml:"editor" json:"editor"` }
Click to show internal directories.
Click to hide internal directories.