http

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OutputName = "http"

Functions

func Handler

func Handler() core.OutputHandler

Types

type Config

type Config struct {
	URL         string            `json:"url" validate:"required"`
	Headers     map[string]string `json:"headers"`
	MaxSize     int               `json:"max_size" validate:"int" message:"int:max_size must int"` // Max size in KB
	AsMultiPart bool              `json:"as_multi_part"`
	AsJson      bool              `json:"as_json"`
}

Jump to

Keyboard shortcuts

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