fileretriever

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 2 Imported by: 19

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