func (s *internalServer) Advertise(hyperbahnHosts []string) error {
	config := hyperbahn.Configuration{InitialNodes: hyperbahnHosts}
	hc, err := hyperbahn.NewClient(s.ch, config, nil)
	if err != nil {
		panic("failed to setup Hyperbahn client: " + err.Error())
	}
	return hc.Advertise()
}
func (s *internalServer) Advertise(hyperbahnHosts []string) error {
	config := hyperbahn.Configuration{InitialNodes: hyperbahnHosts}
	hc, err := hyperbahn.NewClient(s.ch, config, nil)
	if err != nil {
		panic("failed to setup Hyperbahn client: " + err.Error())
	}
	return hc.Advertise()
}
func ( s * internalServer ) Advertise ( hyperbahnHosts [ ] string ) error { config := hyperbahn . Configuration { InitialNodes : hyperbahnHosts } hc , err := hyperbahn . NewClient ( s . ch , config , nil ) if err != nil { panic ( " " + err . Error ( ) ) } return hc . Advertise ( ) }
// Advertise advertises with Hyperbahn.
Advertise advertises with Hyperbahn .