httpmodels

package
v0.0.0-...-bf201e6 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteReq

type DeleteReq struct {
	Path      string `json:"path,omitempty" url:"path,omitempty"`
	Recursive bool   `json:"recursive,omitempty" url:"recursive,omitempty"`
}

type ExportReq

type ExportReq struct {
	Path           string              `json:"path,omitempty" url:"path,omitempty"`
	Format         models.ExportFormat `json:"format,omitempty" url:"format,omitempty"`
	DirectDownload bool                `json:"direct_download,omitempty" url:"direct_download,omitempty"`
}

type ExportResp

type ExportResp struct {
	Content string `json:"content,omitempty" url:"content,omitempty"`
}

type GetStatusReq

type GetStatusReq struct {
	Path string `json:"path,omitempty" url:"path,omitempty"`
}

type GetStatusResp

type GetStatusResp struct {
	ObjectType models.ObjectType `json:"object_type,omitempty" url:"object_type,omitempty"`
	ObjectID   int64             `json:"object_id,omitempty" url:"object_id,omitempty"`
	Path       string            `json:"path,omitempty" url:"path,omitempty"`
	Language   models.Language   `json:"language,omitempty" url:"language,omitempty"`
}

type ImportReq

type ImportReq struct {
	Path      string              `json:"path,omitempty" url:"path,omitempty"`
	Format    models.ExportFormat `json:"format,omitempty" url:"format,omitempty"`
	Language  models.Language     `json:"language,omitempty" url:"language,omitempty"`
	Content   string              `json:"content,omitempty" url:"content,omitempty"`
	Overwrite bool                `json:"overwrite,omitempty" url:"overwrite,omitempty"`
}

type ListReq

type ListReq struct {
	Path string `json:"path,omitempty" url:"path,omitempty"`
}

type ListResp

type ListResp struct {
	Objects *[]models.ObjectInfo `json:"objects,omitempty" url:"objects,omitempty"`
}

type MkdirsReq

type MkdirsReq struct {
	Path string `json:"path,omitempty" url:"path,omitempty"`
}

Jump to

Keyboard shortcuts

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