clearUp Useless

This commit is contained in:
mr
2026-02-02 09:16:56 +01:00
parent 6f6ada8e3b
commit 03406a6b21
2 changed files with 0 additions and 33 deletions

View File

@@ -1,24 +0,0 @@
package conf
import "sync"
type Config struct {
Name string
Hostname string
PSKPath string
PublicKeyPath string
PrivateKeyPath string
DHTEndpointPort int64
BootstrapAddress string
}
var instance *Config
var once sync.Once
func GetConfig() *Config {
once.Do(func() {
instance = &Config{}
})
return instance
}