mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 16:01:55 +03:00
Bugfix rpc handshake
This commit is contained in:
+6
-2
@@ -48,8 +48,12 @@ func (c *CtxReadWriteCloserWithAddr) Close() error {
|
||||
return c.conn.Close()
|
||||
}
|
||||
|
||||
func (c *CtxReadWriteCloserWithAddr) Addr() *net.TCPAddr {
|
||||
return c.conn.Addr()
|
||||
func (c *CtxReadWriteCloserWithAddr) LocalAddr() *net.TCPAddr {
|
||||
return c.conn.LocalAddr()
|
||||
}
|
||||
|
||||
func (c *CtxReadWriteCloserWithAddr) RemoteAddr() *net.TCPAddr {
|
||||
return c.conn.RemoteAddr()
|
||||
}
|
||||
|
||||
// NewCtxRWC returns ReadWriteCloser which respects given context,
|
||||
|
||||
Reference in New Issue
Block a user