insertionpoint

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package insertionpoint analyzes requests and generates insertion points

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InsertionPoint

type InsertionPoint struct {
	Name  string
	Point Point
}

InsertionPoint is a point in an http request where a payload can be injected

func NewInsertionPoint

func NewInsertionPoint(
	n string,
	p Point,
) InsertionPoint

NewInsertionPoint creates a new InsertionPoint

type InsertionPoints

type InsertionPoints []InsertionPoint

InsertionPoints slice of InsertionPoint objects

func NewInsertionPoints

func NewInsertionPoints(
	resp *http.Response,
	c httpclient.HTTPClient,
) (iPts InsertionPoints, err error)

NewInsertionPoints create a slice of insertion point objects

type Point

type Point string

Point type of insertion

const (
	Cookie    Point = "Cookie"
	Header    Point = "Header"
	Param     Point = "Param"
	BodyParam Point = "Body Param"
)

Available points nolint:golint

Jump to

Keyboard shortcuts

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