contracts

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 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 HTTPClient added in v0.0.8

type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}

type Logger

type Logger interface {
	Error(a ...any)
	Errorf(template string, a ...any)
	Warning(a ...any)
	Warningf(template string, a ...any)
	Info(a ...any)
	Infof(template string, a ...any)
	Debug(a ...any)
	Debugf(template string, a ...any)
	PrintResponse(response *http.Response)
}

type URLReplacerFactory added in v0.0.8

type URLReplacerFactory interface {
	Make(requestURL *url.URL) (*urlreplacer.Replacer, *urlreplacer.Replacer, error)
}

Jump to

Keyboard shortcuts

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