storeResults

package
v0.0.0-...-79ef193 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2016 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HiveResults

type HiveResults struct {
	sync.RWMutex
	When          string   `json:"when"`
	ElapsedTime   float64  `json:"elapsed_time"`
	GetResults    []Result `json:"get_results"`
	UpdateResults []Result `json:"update_results"`
	OthersResults []Result `json:"others_result"`
}

HiveResults stores all results of running

type Result

type Result struct {
	RequestType   string  `json:"type"`
	AuthToken     string  `json:"token"`
	RequestURL    string  `json:"url"`
	Responce      string  `json:"responce"`
	RequestStatus int     `json:"status_code"`
	ProcessedTime float64 `json:"processed_time"`
}

Result store meta info about every request

Jump to

Keyboard shortcuts

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