adapter

package
v0.0.0-...-9d3994b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DownloadCountTagKey = "DownloadCount"

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudWatchLogsAdapter

type CloudWatchLogsAdapter interface {
	PutLogEntry(logEntry *domain.LogEntry) error
}

func NewCloudWatchLogsAdapter

func NewCloudWatchLogsAdapter(cwLogsClient *cloudwatchlogs.CloudWatchLogs, logGroupName, logStreamName string) CloudWatchLogsAdapter

type S3Adapter

type S3Adapter interface {
	IncrementDownloadCount(bucket, key string) (int64, int64, error)
}

func NewS3Adapter

func NewS3Adapter(s3Client *s3.S3) S3Adapter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL