core

package
v0.0.0-...-877b449 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: MIT 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 {
	Id           int `json:"id"`
	UserId       int
	ParentDictId int
	FileName     string
	EncryptedKey string
	Ctime        time.Time
	Mtime        time.Time
	Atime        time.Time
	FileType     string
	Data         []byte
	Size         int
}

type FileService

type FileService struct {
}

func (*FileService) AddDict

func (*FileService) AddFile

func (*FileService) CreateNewFileRoot

func (*FileService) CreateNewFileRoot(ctx context.Context, req *service.FileRequest, resp *service.FileResponse) error

func (*FileService) DeleteFile

func (*FileService) DeleteFile(ctx context.Context, req *service.FileRequest, resp *service.FileResponse) error

func (*FileService) GetFile

func (*FileService) GetFilesByParentDictId

func (*FileService) GetFilesByParentDictId(ctx context.Context, req *service.FileRequest, resp *service.FileResponse) error

Jump to

Keyboard shortcuts

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