mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-03-13 04:19:57 +00:00
chore: code cleanup
This commit is contained in:
@@ -48,10 +48,6 @@ func (c *client) Address() string {
|
||||
return c.addr
|
||||
}
|
||||
|
||||
func (c *client) Exchange(m *D.Msg) (*D.Msg, error) {
|
||||
return c.ExchangeContext(context.Background(), m)
|
||||
}
|
||||
|
||||
func (c *client) ExchangeContext(ctx context.Context, m *D.Msg) (*D.Msg, error) {
|
||||
var (
|
||||
ip netip.Addr
|
||||
|
||||
Reference in New Issue
Block a user