interfaces

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Get(url, body string) ([]byte, int, error)
	Put(url, body string) ([]byte, int, error)
	Post(url, body string) ([]byte, int, error)
	Delete(url string) ([]byte, int, error)
}

Client interface

type FileSystem

type FileSystem interface {
	MkdirAll(path string, perm os.FileMode) error
	Create(name string) (afero.File, error)
	IsNotExist(err error) bool
	Stat(name string) (os.FileInfo, error)
}

FileSystem interface

Jump to

Keyboard shortcuts

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