uploader

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

README

uploader

test

DEBUG_LEVEL=error STORAGE_EMULATOR_HOST=localhost:8000  go test -race -v . -bench=.

Documentation

Index

Constants

View Source
const (
	DefaultDomain         = "onglai-msg"
	DefaultSubject        = "%s.archive.bucket.job.%s"
	DefaultBucketName     = "example.com"
	DefaultBucketCategory = "msg-store"
)

Variables

This section is empty.

Functions

func Module

func Module(scope string) fx.Option

Types

type Params

type Params struct {
	fx.In
	NATSConnector   *nats_connector.NATSConnector
	BucketConnector *bucket_connector.BucketConnector
	Lifecycle       fx.Lifecycle
	Logger          *zap.Logger
}

type Uploader

type Uploader struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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