Documentation ¶
Index ¶
Constants ¶
View Source
const ( ProjectName = "git_sync" ProjectVersion = "v0.0.3" ProjectDescription = "git_sync service" ProjectBundleID = "com.git_sync.git_sync" APIPortDefault = 6789 )
Variables ¶
View Source
var ( GlobalConfig *FileConfig HardSN string )
Functions ¶
func LoadConfig ¶
func SaveConfig ¶
func SyncConfigFile ¶
Types ¶
type Auth ¶
func GetAuthInfo ¶
func GetAuthInfo() *Auth
type ExtendApp ¶
type ExtendApp struct { *gtbox_app.App NetListenPortStratumDefault int NetListenAPIPortDefault int DualPoolEtcHashInsideUrl string }
var (
CurrentApp *ExtendApp
)
type FileConfig ¶
type FileConfig struct { Api api_config.ApiConfig `yaml:"api" json:"api"` Auth Auth `yaml:"auth" json:"auth"` Language string `yaml:"language" json:"language"` }
Click to show internal directories.
Click to hide internal directories.