Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdConfig ¶
type AdConfig struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` ApiVersion string `json:"apiVersion,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client IsDebug bool GlobalConfig GlobalConfig // contains filtered or unexported fields }
func NewAdConfig ¶
func (*AdConfig) AddDefaultHeader ¶
func (*AdConfig) GetAccessToken ¶
func (*AdConfig) SetAccessToken ¶
func (*AdConfig) SetUserAgent ¶
type GlobalConfig ¶
type GlobalConfig struct { ServiceName ServiceName HttpOption HttpOption }
type HttpOption ¶
type ServiceName ¶
Click to show internal directories.
Click to hide internal directories.