8 lines
172 B
Go
8 lines
172 B
Go
|
|
package httpserver
|
||
|
|
|
||
|
|
// GetAddress obtains the address the HTTP server is listening on.
|
||
|
|
func (s *Server) GetAddress() (address string) {
|
||
|
|
<-s.addressSet
|
||
|
|
return s.address
|
||
|
|
}
|