event

package
v0.0.0-...-0f0f3a0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTP

type HTTP struct {
	EventType Type `json:"eventType"`

	Header map[string][]string `json:"header"`
	Body   string              `json:"body"`

	Method string `json:"method"`
	Path   string `json:"path"`
	Query  string `json:"query"`

	Status int `json:"status"`
}

type Type

type Type string
const (
	RequestEventType  Type = "request"
	ResponseEventType Type = "response"
)

Jump to

Keyboard shortcuts

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