nop

package
v2.16.4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

package nop implements a no-op for CSPs that don't require custom image upload functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Uploader

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

Uploader is a no-op uploader.

func New

func New(log *slog.Logger) *Uploader

New creates a new Uploader.

func (*Uploader) Upload

Upload pretends to upload images to a csp.

Jump to

Keyboard shortcuts

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