fileretriever

package
v1.23.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 2 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Retriever

type Retriever struct {
	Path string
}

Retriever is a configuration struct for a local flat file.

func (*Retriever) Retrieve

func (r *Retriever) Retrieve(_ context.Context) ([]byte, error)

Retrieve is reading the file and return the content

Jump to

Keyboard shortcuts

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