taraxacum

package module
v0.0.0-...-d3d9e72 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: MIT Imports: 12 Imported by: 0

README

taraxacum

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Conf *config

Functions

func LoadConf

func LoadConf()

func Router

func Router() *gin.Engine

Types

type Result

type Result struct {
	Code int         `json:"code"` // return code, 0 for succ
	Msg  string      `json:"msg"`  // message
	Data interface{} `json:"data"` // data object
}

Result represents HTTP response body.

func NewResult

func NewResult() *Result

NewResult creates a result with Code=0, Msg="", Data=nil.

type UploadInfo

type UploadInfo struct {
	No       int    `json:"no"`
	Filename string `json:"filename"`
	OK       bool   `json:"ok"`
	Path     string `json:"path"`
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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