Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache is a cache implementation that stores data in a S3 bucket.
func (*Cache) Handler ¶
func (c *Cache) Handler(ctx context.Context, req *protocol.ProgRequest, resp *protocol.ProgResponse) error
type Option ¶
type Option struct { // AccessKey is the access key for S3. AccessKey string // SecretKey is the secret key for S3. SecretKey string // Endpoint is the endpoint for S3. Endpoint string // Bucket is the bucket for S3. Bucket string // Region is the region for S3. Region string }
Option is the option for S3 cache.
Click to show internal directories.
Click to hide internal directories.