Documentation ¶
Index ¶
Constants ¶
View Source
const ( BranchName = "BranchName" BranchSecret = "BranchSecret" EnableReadOnly = "EnableReadOnly" RPCHost = "RPCHost" RPCPort = "RPCPort" LocalFolder = "LocalFolder" TreeSecret = "TreeSecret" )
Defaut configuration keys
View Source
const ProductVersion = "1.1.1"
ProductVersion is the current version of Rufs
Variables ¶
View Source
var DefaultBranchExportConfig = map[string]interface{}{ BranchName: "", BranchSecret: "", EnableReadOnly: false, RPCHost: "", RPCPort: "9020", LocalFolder: "share", }
DefaultBranchExportConfig is the default configuration for an exported branch
View Source
var DefaultTreeConfig = map[string]interface{}{ TreeSecret: "", }
DefaultTreeConfig is the default configuration for a tree which imports branches
Functions ¶
func CheckBranchExportConfig ¶
CheckBranchExportConfig checks a given branch export config.
func CheckTreeConfig ¶
CheckTreeConfig checks a given tree config.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.