14 lines
399 B
Go
14 lines
399 B
Go
package synccfg
|
|
|
|
var O SyncPartnerCfg = SyncPartnerCfg{} // old
|
|
|
|
// Used by sync itself, so any partner should be stated here
|
|
type SyncPartnerCfg struct {
|
|
OldSource string `yaml:"oldSource"`
|
|
OldSecretKey string `yaml:"oldSecretKey"`
|
|
OldHost string `yaml:"oldHost"`
|
|
NewSource string `yaml:"newSource"`
|
|
NewSecretKey string `yaml:"newSecretKey"`
|
|
NewHost string `yaml:"newHost"`
|
|
}
|