servers

package
v0.0.0-...-4e954e8 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PagingServer

func PagingServer(paging modelinterface.Paging, info modelinterface.PageInfo) (db *gorm.DB, total int, err error)

PagingServer 获取分页功能 接收实现了分页接口的结构体 返回搜索完成的结果 许需要自行scan 或者fand

func ReportFormat

func ReportFormat(c *gin.Context, success bool, msg string, json gin.H)

ReportFormat ...

func Upload

func Upload(file *multipart.FileHeader, bucket string, urlPath string) (path string, err error)

Upload 接收两个参数 一个文件流 一个 bucket 你的七牛云标准空间的名字

Types

This section is empty.

Jump to

Keyboard shortcuts

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