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

Struct Client

go-example-logs-api-extension/logsapi/client.go:19–22  ·  view source on GitHub ↗

Client is the client used to subscribe to the Logs API

Source from the content-addressed store, hash-verified

17
18// Client is the client used to subscribe to the Logs API
19type Client struct {
20 httpClient *http.Client
21 logsApiBaseUrl string
22}
23
24// NewClient returns a new Client with the given URL
25func NewClient(logsApiBaseUrl string) (*Client, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected