Chore: code style

This commit is contained in:
yaling888
2022-06-15 04:29:19 +08:00
parent 0002064c07
commit f750bc96cb
21 changed files with 135 additions and 157 deletions

View File

@ -24,6 +24,7 @@ func (m *Mitm) DialContext(_ context.Context, metadata *C.Metadata, _ ...dialer.
_ = c.SetKeepAlive(true)
_ = c.SetKeepAlivePeriod(60 * time.Second)
_ = c.SetLinger(0)
metadata.Type = C.MITM