GetSubChannel returns the SubChannel for the subchannel (identified by id).
(id int64)
| 94 | |
| 95 | // GetSubChannel returns the SubChannel for the subchannel (identified by id). |
| 96 | func GetSubChannel(id int64) *SubChannel { |
| 97 | return db.getSubChannel(id) |
| 98 | } |
| 99 | |
| 100 | // GetSocket returns the Socket for the socket (identified by id). |
| 101 | func GetSocket(id int64) *Socket { |