models

package
v0.0.0-...-5593073 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2016 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Header struct {
	Field string `bson:"field" json:"field"`
	Value string `bson:"value" json:"value"`
}

type Task

type Task struct {
	Method  string   `bson:"method" json:"method"`
	Path    string   `bson:"path" json:"path"`
	Headers []Header `bson:"headers" json:"headers"`
	RawBody string   `bson:"raw_body" json:"rawBody"`
}

type Test

type Test struct {
	Id          bson.ObjectId `bson:"_id,omitempty" json:"_id,omitempty"`
	Name        string        `bson:"name" json:"name"`
	Description string        `bson:"description" json:"description"`
	BaseUrl     string        `bson:"base_url" json:"baseUrl"`
	Requests    int           `bson:"requests" json:"requests"`
	Concurrency int           `bson:"concurrency" json:"concurrency"`
	Tasks       []Task        `bson:"tasks" json:"tasks"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL