requests

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileResponse

type FileResponse struct {
	ID          string `json:"file_id"`
	FileName    string `json:"file_name"`
	Path        string `json:"file_path"`
	Description string `json:"description,omitempty"`
	CreatedAt   string `json:"created_at"`
	Size        int64  `json:"file_size"`
}

type UploadFileRequest

type UploadFileRequest struct {
	FileName    string `form:"file_name,omitempty" validate:"omitempty,min=1,max=255"`
	FilePath    string `form:"file_path,omitempty"`
	Description string `form:"description,omitempty"`
}

Jump to

Keyboard shortcuts

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