file

package
v0.0.0-...-eeb60d1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNilFileRepo = errors.New("File repository can not be nil")

Functions

This section is empty.

Types

type FileService

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

func NewFileService

func NewFileService(repo *repository.FileRepository, st settings.Settings) (*FileService, error)

func (*FileService) GetFile

func (f *FileService) GetFile(c *gin.Context, isAdmin bool)

func (*FileService) GetFileList

func (f *FileService) GetFileList(c *gin.Context, isAdmin bool)

func (*FileService) SaveFiles

func (f *FileService) SaveFiles(c *gin.Context, isAdmin bool)

Jump to

Keyboard shortcuts

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