Documentation ¶ Index ¶ func NewServersMapFromList(input []string) (output map[string]*Server) type Server func NewServerFromString(input string) (*Server, error) func (s Server) IsExpired(ttl time.Duration) bool func (s Server) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewServersMapFromList ¶ func NewServersMapFromList(input []string) (output map[string]*Server) Types ¶ type Server ¶ type Server struct { Address net.Addr Connection *net.PacketConn `json:"-" csv:"-"` LastSeen time.Time } func NewServerFromString ¶ func NewServerFromString(input string) (*Server, error) func (Server) IsExpired ¶ func (s Server) IsExpired(ttl time.Duration) bool func (Server) String ¶ func (s Server) String() string Source Files ¶ View all Source files Server.go Click to show internal directories. Click to hide internal directories.