services

package
v0.0.0-...-ef3b996 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(req *http.Request, createFileRequest models.FileResourceRest) (*models.FileResourceRest, int, error)

func GetFile

func GetFile(req *http.Request, id string) (models.FileResourceRest, int, error)

Types

type FilesService

type FilesService struct {
	Repository storage.Mongo
	Config     config.Config
}

FilesService contains the Repository for db access

Jump to

Keyboard shortcuts

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