MCPcopy
hub / github.com/passteque/gluetun / GetAddress

Method GetAddress

internal/httpserver/address.go:4–7  ·  view source on GitHub ↗

GetAddress obtains the address the HTTP server is listening on.

()

Source from the content-addressed store, hash-verified

2
3// GetAddress obtains the address the HTTP server is listening on.
4func (s *Server) GetAddress() (address string) {
5 <-s.addressSet
6 return s.address
7}

Callers 2

Test_Server_Run_successFunction · 0.95
Test_ServerFunction · 0.80

Calls

no outgoing calls

Tested by 2

Test_Server_Run_successFunction · 0.76
Test_ServerFunction · 0.64