GetServers returns a slice of server's ServerMetric, along with a boolean indicating whether there's more servers to be queried for. The arg id specifies that only server with id at or above it will be included in the result. The returned slice is up to a length of the arg maxResults or EntriesPerP
(id int64, maxResults int)
| 73 | // in the result. The returned slice is up to a length of the arg maxResults or |
| 74 | // EntriesPerPage if maxResults is zero, and is sorted in ascending id order. |
| 75 | func GetServers(id int64, maxResults int) ([]*Server, bool) { |
| 76 | return db.getServers(id, maxResults) |
| 77 | } |
| 78 | |
| 79 | // GetServerSockets returns a slice of server's (identified by id) normal socket's |
| 80 | // SocketMetrics, along with a boolean indicating whether there's more sockets to |