requests

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(config Config) (int, error)

Run runs a series of validation requests based off a specified api spec against the specified validation proxy address.

Types

type Config

type Config struct {
	Source string
	Host   string
	Port   string

	Client *http.Client
}

Config contains the application configuration

func (Config) Validate

func (c Config) Validate() error

Validate checks that the configuration is valid.

Jump to

Keyboard shortcuts

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