respreader

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadResponses

func ReadResponses(filename string) <-chan RespRecord

ReadResponses reads the CSV file with responses and sends the data to the output channel.

Types

type RespRecord

type RespRecord struct {
	ReqUrl     string
	ReqMethod  string
	ReqHeaders string
	ReqBody    string
	ReqHash    uint64

	RespStatus string
	RespBody   string
}

RespRecord represents a response record from an input CSV file generated by the send command.

func (RespRecord) String

func (r RespRecord) String() string

Jump to

Keyboard shortcuts

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