buggyhttp

package
v1.0.57 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package buggyhttp is a webserver affected by any kind of network issues

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(port int)

Listen on specified port

func ListenTLS

func ListenTLS(port int, certFile, keyFile string)

ListenTLS because buggyhttp also supports bugged TLS

func SecureRandomAlphaString

func SecureRandomAlphaString(length int) string

func SecureRandomBytes

func SecureRandomBytes(length int) []byte

SecureRandomBytes returns the requested number of bytes using crypto/rand

func Stop

func Stop()

Stop the server

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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