Chore: add some linters and clean up the code
This commit is contained in:
@ -30,7 +30,7 @@ func (hc *h2Conn) establishConn() error {
|
||||
path := hc.cfg.Path
|
||||
// TODO: connect use VMess Host instead of H2 Host
|
||||
req := http.Request{
|
||||
Method: "PUT",
|
||||
Method: http.MethodPut,
|
||||
Host: host,
|
||||
URL: &url.URL{
|
||||
Scheme: "https",
|
||||
|
Reference in New Issue
Block a user