code: func (c *Configurator) serverNameOrNodeName() string {
  	c.RLock()
  	defer c.RUnlock()
  	if c.base.ServerName != "" {
  		return c.base.ServerName
  	}
  	return c.base.NodeName
  }
docs: // This function acquires a read lock because it reads from the config.