MCPcopy Create free account
hub / github.com/aws-samples/aws-lambda-extensions / LoadConfigFile

Function LoadConfigFile

cache-extension-demo/extension/entry.go:81–88  ·  view source on GitHub ↗

Load the config file

()

Source from the content-addressed store, hash-verified

79
80// Load the config file
81func LoadConfigFile() string {
82 data, err := ioutil.ReadFile(FileName)
83 if err != nil {
84 panic(err)
85 }
86
87 return string(data)
88}

Callers 1

InitCacheExtensionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected