http

package
v0.0.0-...-de23339 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPEvent

type HTTPEvent struct {
	Host              string    `json:"host"`
	GeolocCountry     string    `json:"geolocCountryName"`
	GeolocRegion      string    `json:"geolocRegionName"`
	HTTPUserAgent     string    `json:"httpUserAgent"`
	RequestURI        string    `json:"requestUri"`
	Status            int       `json:"status"`
	Ts                time.Time `json:"ts"`
	UpstreamBytesSent int       `json:"upstreamBytesSent"`
	RequestTime       string    `json:"requestTime"`
	RequestMethod     string    `json:"requestMethod"`
}

type HTTPEventsResponse

type HTTPEventsResponse struct {
	HTTPEvents []HTTPEvent `json:"httpEvents"`
}

func HttpEvents

func HttpEvents(f *cmdutil.Factory, currentTime time.Time, limitFlag string) (HTTPEventsResponse, error)

Jump to

Keyboard shortcuts

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