GetSocket returns the Socket for the socket (identified by id).
(id int64)
| 99 | |
| 100 | // GetSocket returns the Socket for the socket (identified by id). |
| 101 | func GetSocket(id int64) *Socket { |
| 102 | return db.getSocket(id) |
| 103 | } |
| 104 | |
| 105 | // GetServer returns the ServerMetric for the server (identified by id). |
| 106 | func GetServer(id int64) *Server { |