Documentation
¶
Index ¶
- Variables
- func Config() *quick.Config
- func ConfigFor(amount int) *quick.Config
- func Del(url string, payload []byte) []byte
- func Errored(s int) bool
- func Get(url string) []byte
- func MustMarshal(data interface{}) []byte
- func MustUnmarshal(bytes []byte, data interface{})
- func NewRequest(reqType string, url string, payload []byte) (*http.Request, error)
- func Patch(url string, payload []byte) []byte
- func Post(url string, payload []byte) []byte
- func Put(url string, payload []byte) []byte
- func Request(reqType string, url string, payload []byte) []byte
- type DeleteBody
- type PostBody
- func (b PostBody) ContainsFieldId(id bson.ObjectId) bool
- func (b PostBody) DeleteBody() DeleteBody
- func (b PostBody) Generate(rand *rand.Rand, size int) reflect.Value
- func (b PostBody) GetAllFieldIds() []bson.ObjectId
- func (b PostBody) GetFirstFieldId() bson.ObjectId
- func (b PostBody) GetOwnerId() bson.ObjectId
- func (b PostBody) Make(rand *rand.Rand, size int) PostBody
- func (b PostBody) PutBody() PutBody
- func (b PostBody) RollbackBody() RollbackBody
- type PutBody
- type RandString
- type RollbackBody
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Random = rand.New(&lockedSource{src: rand.NewSource(nowNano)})
)
Functions ¶
func MustMarshal ¶
func MustMarshal(data interface{}) []byte
func MustUnmarshal ¶
func MustUnmarshal(bytes []byte, data interface{})
func NewRequest ¶
Types ¶
type DeleteBody ¶
type DeleteBody []records.DeleteRecord
type PostBody ¶
type PostBody []records.PostRecord
func (PostBody) DeleteBody ¶
func (b PostBody) DeleteBody() DeleteBody
func (PostBody) GetAllFieldIds ¶
func (PostBody) GetFirstFieldId ¶
func (PostBody) GetOwnerId ¶
func (PostBody) RollbackBody ¶
func (b PostBody) RollbackBody() RollbackBody
type RandString ¶
type RandString []string
func (RandString) String ¶
func (s RandString) String() string
type RollbackBody ¶
type RollbackBody []records.RollbackRecord
Click to show internal directories.
Click to hide internal directories.