controllers

package
v0.0.0-...-18ff29a Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DelFilesRequestCarrier

type DelFilesRequestCarrier struct {
	Fids []string `json:"fids" form:"fids" query:"fids"`
}

type ExampleController

type ExampleController struct {
}

ExampleController is ...

func NewExampleController

func NewExampleController() *ExampleController

NewExampleController is ...

func (*ExampleController) SayHello

func (this *ExampleController) SayHello(ctx echo.Context) error

SayHello is ...

type FileController

type FileController struct {
	// contains filtered or unexported fields
}

FileController is ...

func NewFileController

func NewFileController(logger *flog.Logger, fileSvc xgxw.FileService) *FileController

NewFileController is ...

func (*FileController) Del

func (this *FileController) Del(ctx echo.Context) error

Del is ...

func (*FileController) DelFiles

func (this *FileController) DelFiles(ctx echo.Context) error

DelFiles is ...

func (*FileController) Get

func (this *FileController) Get(ctx echo.Context) error

Get is 获取File.md

func (*FileController) GetCatalog

func (this *FileController) GetCatalog(ctx echo.Context) error

GetCatalog is ...

func (*FileController) GetURL

func (this *FileController) GetURL(ctx echo.Context) error

Get is 获取File.md

func (*FileController) Put

func (this *FileController) Put(ctx echo.Context) error

Put is ...

type GetCatalogRequestCarrier

type GetCatalogRequestCarrier struct {
	Options fstorage.ListOption `json:"options" form:"options" query:"options"`
}

type GetCatalogResopnseCarrier

type GetCatalogResopnseCarrier struct {
	Catalog string   `json:"catalog" form:"catalog" query:"catalog"`
	Paths   []string `json:"paths" form:"paths" query:"paths"`
}

Jump to

Keyboard shortcuts

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