Documentation ¶
Overview ¶
Package httpclient provides http client used for SDK.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an http client for SDK.
type Config ¶
type Config struct { URL string `v:"required"` // Service address. Eg: user.svc.local, http://user.svc.local Client *gclient.Client // Custom underlying client. Logger *glog.Logger // Custom logger. RawDump bool // Whether auto dump request&response in stdout. }
Config is the configuration struct for SDK client.
Click to show internal directories.
Click to hide internal directories.