mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-10-07 16:31:02 +08:00
9 lines
340 B
Go
9 lines
340 B
Go
package config
|
|
|
|
type GitRepoConfig struct {
|
|
Enable *bool
|
|
URL string `yaml:"url,omitempty"`
|
|
PrivateKey string `yaml:"private_key,omitempty"`
|
|
LatestSyncCommit string `yaml:"latest_sync_commit,omitempty"` // TODO: deprecate this field, it's just a non-needed mechanism (better to check against git history).
|
|
}
|