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

Struct Client

cache-extension-demo/extension/client.go:52–56  ·  view source on GitHub ↗

Client is a simple client for the Lambda Extensions API

Source from the content-addressed store, hash-verified

50
51// Client is a simple client for the Lambda Extensions API
52type Client struct {
53 baseURL string
54 httpClient *http.Client
55 extensionID string
56}
57
58// NewClient returns a Lambda Extensions API client
59func NewClient(awsLambdaRuntimeAPI string) *Client {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected