static

package
v0.0.0-...-fde1fe5 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	ContentType string
	Data        []byte
}

type LocalService

type LocalService struct {
	RootFolder string
}

func (*LocalService) Get

func (l *LocalService) Get(filename string) (File, error)

type S3Service

type S3Service struct {
	S3         s3iface.S3API
	BucketName string
}

func (*S3Service) Get

func (s *S3Service) Get(filename string) (File, error)

type Service

type Service interface {
	Get(filename string) (File, error)
}

Jump to

Keyboard shortcuts

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