server

package
v0.0.0-...-66ffdac Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Down

func Down(url string, path string) bool

Down 下载文件到对应位置

func GetApi

func GetApi(url string, body io.Reader) []byte

GetApi 一个Git接口访问方法

func GetToken

func GetToken(c *gin.Context)

GetToken 使用默认的用户名密码采用MD5加密后传入并返回中间件需要的token值

func IntSqlStart

func IntSqlStart()

IntSqlStart 同步数据结构,设置基础数据

func Login

func Login(c *gin.Context)

Login 系统登录接口

func Logout

func Logout(c *gin.Context)

Logout 用户登出

Types

This section is empty.

Directories

Path Synopsis
net

Jump to

Keyboard shortcuts

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