code: func (c *Config) WSEndpoint() string {
  	if c.WSHost == "" {
  		return ""
  	}
  	return fmt.Sprintf("%s:%d", c.WSHost, c.WSPort)
  }
docs: // WSEndpoint resolves a websocket endpoint based on the configured host interface
  // and port parameters.