helpers

package
v0.0.0-...-75ed8df Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Binaries = []BinaryFile{
	{
		FunctionName: "chat-gpt-talk",
		Filename:     "chat-gpt-talk-handler",
		HandlerDir:   "chatgpttalk",
	},
	{
		FunctionName: "chat-gpt-send-image",
		Filename:     "chat-gpt-send-image-handler",
		HandlerDir:   "chatgptsendimage",
	},
}

Functions

func BuildBinaryFile

func BuildBinaryFile(binary BinaryFile, projectDir string, outputDir string) error

func BuildBinaryFiles

func BuildBinaryFiles()

func BuildSingleBinaryFile

func BuildSingleBinaryFile(functionName string) error

func GetFunctionNames

func GetFunctionNames() []string

func GetZipFilenameAndFullFunctionName

func GetZipFilenameAndFullFunctionName(functionName string) (string, string)

Types

type BinaryFile

type BinaryFile struct {
	FunctionName string
	Filename     string
	HandlerDir   string
}

Jump to

Keyboard shortcuts

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