request

package
v0.0.0-...-3800c8c Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

package request contains necessary types and functions to handle proxy requests logging and processing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record struct {
	// ID is the unique identifier of the request.
	ID xid.ID

	// Host is the host of the request.
	Host string

	// CreatedAt is the time when the request was created.
	CreatedAt time.Time
}

Record contains relevant information about the proxy requests.

func NewRecord

func NewRecord(host string) Record

NewRecord creates a new request record.

Directories

Path Synopsis
process
stdout
packe stdout implements a request processor that uses standard output to log requests.
packe stdout implements a request processor that uses standard output to log requests.

Jump to

Keyboard shortcuts

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