backend

package
v0.0.0-...-7312e19 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileServer

type FileServer interface {
	GetFileURL(FileSizeLevel, string) (*url.URL, error)
}

func NewFileServer

func NewFileServer(namespace string) FileServer

type FileSizeLevel

type FileSizeLevel string
const (
	FileSizeLevelNano    FileSizeLevel = "nano"
	FileSizeLevelMicro   FileSizeLevel = "micro"
	FileSizeLevelSmall   FileSizeLevel = "small"
	FileSizeLevelMedium  FileSizeLevel = "medium"
	FileSizeLevelLarge   FileSizeLevel = "large"
	FileSizeLevelXLarge  FileSizeLevel = "xlarge"
	FileSizeLevelXXLarge FileSizeLevel = "xxlarge"
)

Jump to

Keyboard shortcuts

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