file

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MIT Imports: 3 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 {
	Method  string            `yaml:"method"`
	Headers map[string]string `yaml:"headers"`
	Proxy   string            `yaml:"proxy"`
	Timeout int               `yaml:"timeout"`
}

type File

type File struct {
	Url      string `yaml:"url"`
	Filename string `yaml:"filename"`
	Config   Config `yaml:"config"`
}

type Yaml

type Yaml struct {
	Config Config `yaml:"config"`
	Files  []File `yaml:"files"`
}

func Unmarshal

func Unmarshal(in []byte) (Yaml, error)

Jump to

Keyboard shortcuts

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