http

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: Apache-2.0 Imports: 24 Imported by: 1

Documentation

Index

Constants

View Source
const (
	TypeHttpRequest = iota
	TypeHttpResponse
)

Variables

View Source
var Dissector dissecting

Functions

func NewDissector

func NewDissector() api.Dissector

Types

type HTTPPayload

type HTTPPayload struct {
	Type uint8
	Data interface{}
}

func (HTTPPayload) MarshalJSON

func (h HTTPPayload) MarshalJSON() ([]byte, error)

type HTTPPayloader

type HTTPPayloader interface {
	MarshalJSON() ([]byte, error)
}

type HTTPWrapper

type HTTPWrapper struct {
	Method  string      `json:"method"`
	Url     string      `json:"url"`
	Details interface{} `json:"details"`
}

type Http2Assembler

type Http2Assembler struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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