Documentation ¶
Index ¶
- func ArchiveType(File *[]byte) string
- func CloneDirectory(origin, destiny string)
- type File
- func (f File) CreateFile(r *http.Request, params map[string]string) ([]map[string]string, error)
- func (f File) Delete(params ...map[string]string) ([]map[string]string, error)
- func (File) FieldAddEventListener(field_name string) string
- func (f File) FilePath(params map[string]string) (string, error)
- func (File) HtmlName() string
- func (File) InputValueChanges() string
- func (f File) MaximumFileSize() int64
- func (f File) Object() *model.Object
- func (f File) Read(params ...map[string]string) ([]map[string]string, error)
- func (File) SelectedTargetChanges() string
- func (f File) Update(data ...map[string]string) ([]map[string]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArchiveType ¶
func CloneDirectory ¶
func CloneDirectory(origin, destiny string)
Types ¶
type File ¶
type File struct { //table Name string // file FieldIdFile string //0 id_file FieldModuleName string //1 module_name FieldName string //2 field_name FieldFolderId string //3 folder_id FieldDescription string //4 description FieldFilePath string //5 file_path FieldFiles string //6 files // contains filtered or unexported fields }
func New ¶
conf: api_name:voucher,user_photo,boleta... default file filetype:video, pdf, document. default imagen root_folder:static_files default "app_files" max_files:1, 4, 6.. default 6 max_kb_size:100, 400 default 50
func (File) CreateFile ¶ added in v0.0.20
CreateFile upload files http handler
func (File) FieldAddEventListener ¶
func (File) InputValueChanges ¶
func (File) MaximumFileSize ¶ added in v0.0.20
func (File) SelectedTargetChanges ¶
Click to show internal directories.
Click to hide internal directories.