request

package
v0.0.0-...-a6bc667 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CaughtRequest

type CaughtRequest struct {
	Id            int64
	Time          Time   `db:"created_at" json:"created_at"`
	Method        string `db:"method" json:"method"`
	ContentLength int64  `db:"content_length" json:"content_length"`
	RemoteAddr    string `db:"remote_addr" json:"remote_addr"`
	Url           string `db:"url" json:"url"`
	Headers       string `db:"headers" json:"headers"`
	Body          string `db:"body" json:"body"`
}

func (*CaughtRequest) ParsedHeaders

func (v *CaughtRequest) ParsedHeaders() map[string][]string

type Time

type Time time.Time

func (Time) MarshalJSON

func (rt Time) MarshalJSON() ([]byte, error)

func (*Time) Scan

func (rt *Time) Scan(src interface{}) error

func (*Time) String

func (rt *Time) String() string

func (*Time) UnmarshalJSON

func (rt *Time) UnmarshalJSON(b []byte) (err error)

func (Time) Value

func (rt Time) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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