uploader

package
v0.0.0-...-485e05f Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoOp

type NoOp struct{}

func NewNoOp

func NewNoOp() *NoOp

func (*NoOp) Upload

func (n *NoOp) Upload(key string, body []byte) error

type R2

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

func NewR2

func NewR2(ctx context.Context, r2 *r2.R2, trim string) *R2

func (*R2) Upload

func (r2 *R2) Upload(key string, body []byte) error

Jump to

Keyboard shortcuts

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