Documentation ¶
Index ¶
Constants ¶
View Source
const ( MESSAGE = 2 TOTAL = 3 P90 = 4 P99 = 5 P50 = 6 RPS = 7 SLAVE = 8 STOPPED = 9 USERS = 10 ERROR = 11 CLOSED_CONNECTION = 1 MSG = 2 STOP_TEST = 3 )
Constants for type of message
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HomeController ¶
type HomeController struct {
beego.Controller
}
HomeController : controller
func (*HomeController) Join ¶
func (c *HomeController) Join()
Join creates a new websocket object for a new client and adds to subsriber list
type Request ¶
type Request struct { MType int URL string Headers []string Method string Payload string Users int Slave int }
Request struct for tcp message
type RequestDetails ¶
type RequestDetails struct { URL string `form:"url" valid:"Required"` Headers string `form:"headers"` Method string `form:"method" valid:"Required"` Payload string `form:"payload"` Users int `form:"users" valid:"Required"` Duration int `form:"duration"` Format string `form:"format"` RampType string `form:"ramp-type"` RampTime int `form:"ramp"` RampStep string `form:"step"` }
RequestDetails form details
type Subscriber ¶
Subscriber obj
Click to show internal directories.
Click to hide internal directories.