Versions in this module Expand all Collapse all v0 v0.5.0 Jan 3, 2024 Changes in this version + const CONF_DIR_NAME + const CONF_FILE_NAME + const DEFAULT_SERVER_PORT + const FILE_DIR_NAME + const LOG_DIR_NAME + const PID_FILE_NAME + const SPEEDFS_PATH_DEFAULT + const SPEEDFS_PATH_ENV + var BUILD_TIME string + var GIT_COMMIT string + var GO_VERSION string + var GloableConfig Config + var SPEEDFS_PATH string + func ConfDir() string + func ConfFilePath() string + func GlobalLogger() *logrus.Logger + func LoadGlobalConfig() error + func LogDir() string + func OtherPeers() []string + func PidFilePath() string + func PrintSysteminfo() + func SelfPeer() string + func SpeedfsPath() string + type Config struct + AdvertiseIP string + Peers []string + Port int