mirror of
https://github.com/SagerNet/sing.git
synced 2025-04-03 20:07:38 +03:00
Add http.parseBasicAuth func stub
This commit is contained in:
parent
27518fdf12
commit
8002db54c0
1 changed files with 3 additions and 0 deletions
|
@ -12,3 +12,6 @@ func ReadRequest(b *bufio.Reader) (req *http.Request, err error)
|
|||
|
||||
//go:linkname URLSetPath net/url.(*URL).setPath
|
||||
func URLSetPath(u *url.URL, p string) error
|
||||
|
||||
//go:linkname ParseBasicAuth net/http.parseBasicAuth
|
||||
func ParseBasicAuth(auth string) (username, password string, ok bool)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue