har

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HARServiceChan     = "har-service"
	StartTheHARRequest = "start-the-har"
)

Variables

This section is empty.

Functions

func BuildHAR

func BuildHAR(har []byte) (*harhar.HAR, error)

func ValidateHAR

func ValidateHAR(har *harhar.HAR, doc *v3.Document, configFile *shared.WiretapConfiguration) []*errors.ValidationError

Types

type ControlResponse

type ControlResponse struct {
	Config *shared.WiretapConfiguration `json:"config,omitempty"`
}

type HARService

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

func NewHARService

func NewHARService(wiretapService *daemon.WiretapService, logger *slog.Logger) *HARService

func (*HARService) HandleServiceRequest

func (hs *HARService) HandleServiceRequest(request *model.Request, core service.FabricServiceCore)

type Transaction

type Transaction struct {
	Request  *harhar.Request
	Response *harhar.Response
}

Jump to

Keyboard shortcuts

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