pit

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Connections int
	Count       int
	Duration    time.Duration
	Timeout     time.Duration

	Method            string
	Headers           []string
	Host              string
	Body              string
	File              string
	Cert              string
	Key               string
	HttpProxy         string
	SocksProxy        string
	Stream            bool
	DisableKeepAlives bool
	Insecure          bool
	Pipeline          bool
}

type Pit

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

func New

func New(c Config) *Pit

func (Pit) Init

func (t Pit) Init() tea.Cmd

func (*Pit) Run

func (p *Pit) Run(url string) (err error)

func (Pit) Update

func (t Pit) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Pit) View

func (t Pit) View() string

Jump to

Keyboard shortcuts

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