base

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

* @Descripttion: 文件管理 * @version: * @Author: lfzxs@qq.com * @Date: 2022-09-27 14:25:29 * @LastEditors: lfzxs@qq.com * @LastEditTime: 2022-10-25 13:50:57

* @Descripttion: 路由工具包 * @version: * @Author: lfzxs@qq.com * @Date: 2022-09-26 14:25:41 * @LastEditors: lfzxs@qq.com * @LastEditTime: 2022-09-27 14:21:04

Index

Constants

This section is empty.

Variables

View Source
var (
	HttpFileMrgKit = httpFileMrgKit{}
)
View Source
var (
	RouterKit = routerKit{}
)

Functions

This section is empty.

Types

type IFileEvent

type IFileEvent interface {
}

文件事件

type IHttpFile

type IHttpFile interface {
	//写入文件
	WriteUploadFile(path string, file *ghttp.UploadFile, fileType string) (writeSize int64, err error)

	//读取文件
	ReadFile(path string) (data []byte, err error)
}

Http文件操作接口

type IRouter

type IRouter interface {
	BindController(group *ghttp.RouterGroup)
}

路由接口

Jump to

Keyboard shortcuts

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