http

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(c *gin.Context)

func Default

func Default() *gin.Engine

Default returns an Engine instance with the Logger and Recovery middleware already attached.

func Init

func Init(s *service.Service) *http.Server

func InitService

func InitService(s *service.Service)

func SetupEngine

func SetupEngine(e *gin.Engine) *gin.Engine

SetupEngine @title auth服务接口 @version 0.0.1 @host 127.0.0.1:18103

func SignIn

func SignIn(c *gin.Context)

SignIn @Summary 注册一个新的 AppId @Author wyt@33.cn @Tags backend @Accept multipart/form-data @Param file formData file true "file" @Param data formData model.SignInRequest true "body" @Success 200 {object} model.GeneralResponse{data=model.SignInResponse} @Router /auth/sign-in [post]

Types

This section is empty.

Jump to

Keyboard shortcuts

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