package
0.42.1
Repository: https://github.com/cortexlabs/cortex.git
Documentation: pkg.go.dev

# Functions

NewEndpoint creates and initializes a new Endpoint struct.
NewS3 creates a new S3 client that satisfies the Storage interface.
NewService creates a new async-gateway service.
NewSQS creates a new SQS client that satisfies the Queue interface.

# Structs

CreateWorkloadResponse represents the response returned to the user on workload creation.
Endpoint wraps an async-gateway Service with HTTP logic.
GetWorkloadResponse represents the workload response that is returned to the user.

# Interfaces

Queue is an interface to abstract communication with event queues.
Service provides an interface to the async-gateway business logic.
Storage is an interface that abstracts cloud storage uploading.

# Type aliases

UserResponse represents the user's API response, which has to be JSON serializable.