loader

package
v0.0.0-...-77edef9 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

type Loader struct {
	// contains filtered or unexported fields
}

Loader object will parse the handlerURL and prepare the function to be executed from processor

func NewLoader

func NewLoader() *Loader

NewLoader creates a new Loader object

func (*Loader) Cleanup

func (l *Loader) Cleanup()

Cleanup removes temporary files used during the loading process

func (*Loader) LoadFunction

func (l *Loader) LoadFunction(fileURL string) (*os.File, string, error)

LoadFunction loads the function and returns a pointer to the config yaml file

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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