http

package
v0.0.0-...-843624c Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartHTTPService

func StartHTTPService()

Types

type QueryData

type QueryData struct {
	Client *types.TClient `json:"client"`
	Avg    []int16        `json:"avg"`
	Max    []int16        `json:"max"`
	Min    []int16        `json:"min"`
	Std    []int16        `json:"std"`
	Los    []int8         `json:"los"`
}

type Response

type Response struct {
	Code    int         `json:"code"`
	Message string      `json:"message,omitempty"`
	Data    interface{} `json:"data,omitempty"`
}

type StatData

type StatData struct {
	Client *types.TClient `json:"client"`
	Avg    int16          `json:"avg"`
	Max    int16          `json:"max"`
	Min    int16          `json:"min"`
	Std    int16          `json:"std"`
	Los    int8           `json:"los"`
}

type StatsData

type StatsData struct {
	Target *types.TTarget `json:"target"`
	Stats  []*StatData    `json:"stats"`
}

Jump to

Keyboard shortcuts

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