http

package
v0.0.0-...-be04f6b Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunHTTPServers

func RunHTTPServers(tlsConfig *tls.Config, port, sslPort string)

RunHTTPServers sets up and runs the SSL and non-SSL HTTP server with the provided parameters.

Types

type LoadParams

type LoadParams struct {
	HeaderSize      int  `json:"header_size,omitempty"`
	NumHeaders      int  `json:"num_headers,omitempty"`
	BodySize        int  `json:"body_size,omitempty"`
	ChunkSize       int  `json:"chunk_size,omitempty"`
	DisableChunking bool `json:"disable_chunking,omitempty"`
}

LoadParams defines the post params accepted by the server.

Jump to

Keyboard shortcuts

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