1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-08 06:32:27 +08:00
This commit is contained in:
houseme
2024-10-07 16:09:19 +08:00
committed by GitHub
127 changed files with 1064 additions and 1039 deletions

View File

@@ -17,15 +17,15 @@ import (
"golang.org/x/crypto/pkcs12"
)
// URIModifier URI修改器
// URIModifier URI 修改器
type URIModifier func(uri string) string
var uriModifier URIModifier
// DefaultHTTPClient 默认httpClient
// DefaultHTTPClient 默认 httpClient
var DefaultHTTPClient = http.DefaultClient
// SetURIModifier 设置URI修改器
// SetURIModifier 设置 URI 修改器
func SetURIModifier(fn URIModifier) {
uriModifier = fn
}