code: func GetDomain() string {
  	var dom string
  	globalConfig.RLock()
  	if globalConfig.storage != nil {
  		dom = globalConfig.storage.GetDomain()
  	}
  	if dom == "" {
  		dom = globalConfig.domain
  	}
  	globalConfig.RUnlock()
  
  	return dom
  }
docs: // GetDomain is the domain getter for the package configuration