structs

package
v2.0.0-...-78ff5a5 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpRequest

type HttpRequest struct {
	HttpData    RequestData
	Count       int
	HttpTimeout time.Duration
}

type HttpResult

type HttpResult struct {
	Response *http.Response
	Err      error
	Start    time.Time
	Tget     time.Duration
	Worker   int
	Count    int
	Soap     SoapData
}

type LogData

type LogData struct {
	Key   string
	Value string
}

type RequestData

type RequestData struct {
	Query []struct {
		Name   string   `json:"name"`
		Values []string `json:"values"`
	} `json:"query"`
	Headers []struct {
		Name  string `json:"name"`
		Value string `json:"value"`
	} `json:"headers"`
	Replaces []struct {
		Values []int  `json:"values,omitempty"`
		Value  int    `json:"value,omitempty"`
		Type   string `json:"type"`
		Sort   string `json:"sort,omitempty"`
		Mark   string `json:"mark"`
		Format string `json:"format,omitempty"`
	} `json:"replaces"`
	Body string `json:"body"`
	Url  string `json:"url"`
	Type string `json:"type"`
	Grep string `json:"grep"`
}

type SoapData

type SoapData struct {
	Rpl []LogData
}

Jump to

Keyboard shortcuts

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