Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEVELOPER = "developer" HOMOLOGATION = "homologation" PRODUCTION = "production" )
View Source
const VERSION = "v0.5.1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrowserCli ¶
type BrowserCli interface {
Get(url string) (*http.Response, error)
Post(url string, payload io.Reader) (*http.Response, error)
Put(url string, payload io.Reader) (*http.Response, error)
Delete(url string) (*http.Response, error)
List(url string) (*http.Response, error)
Patch(url string, payload io.Reader) (*http.Response, error)
CopyConfig() BrowserConfig
AddHeader(key, value string)
SetHeader(key, value string)
GetHeader() http.Header
SetUserAgentName(name string)
}
func NewBrowser ¶
func NewBrowser(bro_conf BrowserConfig) BrowserCli
Click to show internal directories.
Click to hide internal directories.