Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultProtocol = "tcp" DefaultPort = "45678" GoogleDNS = "8.8.8.8:80" TryUpdateIPMapPeriod = 1 * time.Second )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct { ID uuid.UUID Handler requestHandling.Handler IP utils.IP MapperIP utils.IP Registered bool }
func (*Server) HandleRemoteEntities ¶
func (s *Server) HandleRemoteEntities()
func (*Server) LoadIPMapFromFile ¶
func (s *Server) LoadIPMapFromFile()
func (*Server) RequestIPMapUpdate ¶
func (*Server) WaitRequestIPMapUpdate ¶
func (s *Server) WaitRequestIPMapUpdate()
Click to show internal directories.
Click to hide internal directories.