Documentation ¶
Index ¶
- Variables
- func AddDict(req *service.FileRequest) (int, error)
- func AddFile(req *service.FileRequest) (int, error)
- func Count(req *service.FileRequest) (int, error)
- func CreateNewRoot() (int, error)
- func Database(conn string)
- func DeleteFile(id int) error
- func GetAll(req *service.FileRequest) ([]*service.FileDetails, error)
- func GetFile(id int) (string, error)
- func GetParentId(req *service.FileRequest) (int, error)
- func RabbitMQ(str string)
- func Setup()
- type FileSystem
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
View Source
var MQ *amqp.Connection
Functions ¶
func CreateNewRoot ¶
func DeleteFile ¶
func GetAll ¶
func GetAll(req *service.FileRequest) ([]*service.FileDetails, error)
func GetParentId ¶
func GetParentId(req *service.FileRequest) (int, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.