types

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 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 Event

type Event struct {
	RequestParameters url.Values
	Headers           http.Header
	UserAgent         string
	RemoteAddr        string
}

Event contains the http request of catcher - body/query parameters, headers and user agent

func NewEvent

func NewEvent(requestParameters url.Values, headers http.Header, userAgent, remoteAddr string) *Event

NewEvent creates a new event to be stored

Jump to

Keyboard shortcuts

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