common

package
v0.0.0-...-b9f8332 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	Rest *Rest `yaml:"rest,omitempty"`
}

type Rest

type Rest struct {
	Hints *RestHints `yaml:"hints,omitempty"`
}

type RestHints

type RestHints struct {
	StatusCode       int                    `yaml:"statusCode,omitempty"`
	ResponseBody     *RestHintsResponseBody `yaml:"responseBody,omitempty"`
	RedirectLocation string                 `yaml:"redirectLocation,omitempty"`
	WaitMs           int64                  `yaml:"waitMs,omitempty"`
	ApiKey           *RestHintsApiKey       `yaml:"apiKey,omitempty"`
}

type RestHintsApiKey

type RestHintsApiKey struct {
	Name     string                `yaml:"name,omitempty"`
	Location string                `yaml:"location,omitempty"`
	Value    *RestHintsApiKeyValue `yaml:"value,omitempty"`
}

type RestHintsApiKeyValue

type RestHintsApiKeyValue struct {
	Format string                      `yaml:"format,omitempty"`
	Parser *RestHintsApiKeyValueParser `yaml:"parser,omitempty"`
}

type RestHintsApiKeyValueParser

type RestHintsApiKeyValueParser struct {
	RegexpBase64 string `yaml:"regexpBase64,omitempty"`
}

type RestHintsResponseBody

type RestHintsResponseBody struct {
	Plain       string `yaml:"plain,omitempty"`
	Base64      string `yaml:"base64,omitempty"`
	ContentType string `yaml:"contentType,omitempty"`
}

Jump to

Keyboard shortcuts

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