storage

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const UserAgent = "fichenn/1.0"

UserAgent used in requests.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage interface {
	Upload(a *artifact.Artifact, r io.Reader) error
}

A Storage is an interface used for uploading secured data.

func NewFrom

func NewFrom(konf *koanf.Koanf) (Storage, error)

NewFrom returns a new storage based on the given configuration.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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