Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithHTTPClient ¶
func WithHTTPClient(client *http.Client) core.ClientOption
WithHTTPClient 返回一个指定网络通信为HttpClient的ClientOption, 指定后使用用户自动创建的http.client, 如果用户不创建,则帮助用户 创建一个默认的http.client
func WithPayAuthCipher ¶
func WithPayAuthCipher( apiServerUrl, appCode string, appPrivateKey *rsa.PrivateKey, payCenterPublicKey *rsa.PublicKey, ) core.ClientOption
func WithVerifier ¶
func WithVerifier(verifier auth.Verifier) core.ClientOption
WithVerifier 返回一个指定verifier的ClientOption, 用于校验http response header
func WithoutValidator ¶
func WithoutValidator() core.ClientOption
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.