Documentation ¶
Index ¶
- Constants
- Variables
- func NewPostRequest(uri string, data url.Values) (req *http.Request)
- type Client
- func (c *Client) Crawl(endpoint string, seconds int) (result *Result)
- func (c *Client) CrawlRecent(endpoint string, seconds int) (result *Result)
- func (c *Client) Fail(s string, v ...interface{})
- func (c *Client) LoadStatic(endpoint string, seconds int) (result *Result)
- func (c *Client) Stop()
- func (c *Client) Success(n float64)
- type Result
Constants ¶
View Source
const ( UserAgent = "ISUCON Agent 2013" UserScale = 400 Timeout = int64(10000) MaxFails = 5 SessionName = "isucon_session" MaxCheckers = 4 )
Variables ¶
View Source
var AccessLog = false
View Source
var DictWords = []string{}/* 76205 elements not displayed */
View Source
var StaticFiles = map[string]string{
"/css/bootstrap-responsive.min.css": "f889adb0886162aa4ceab5ff6338d888",
"/css/bootstrap.min.css": "4082271c7f87b09c7701ffe554e61edd",
"/js/jquery.min.js": "628072e7212db1e8cdacb22b21752cda",
"/js/bootstrap.min.js": "d700a93337122b390b90bbfe21e64f71",
}
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.