s3

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Methods added in v0.4.0

func Methods() []string

Methods returns module methods

func ModuleName added in v0.4.0

func ModuleName(name string) string

ModuleName returns the module name

Types

type Provider

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

Provider represents S3 upload storage provider

func New

func New(cfg s3.S3, logger *zap.Logger) (*Provider, error)

New creates new S3 upload storage module

func (*Provider) GetLoader

func (p *Provider) GetLoader(_ *script.Script) lua.LGFunction

GetLoader returns the lua loader

func (*Provider) Name

func (p *Provider) Name() string

Name returns the module name

func (*Provider) Stop

func (p *Provider) Stop() error

Stop the module

Jump to

Keyboard shortcuts

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