interfaces

package
v0.0.0-...-0cfeaeb Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

interfaces.go

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewHandler)

ProviderSet is interfaces providers.

Functions

func InfoLog

func InfoLog() gin.HandlerFunc

InfoLog

@Author <a href="https://bitoffer.cn">狂飙训练营</a>
@Description: gin middleware for log request and reply
@return gin.HandlerFunc

func NewRouter

func NewRouter(h *Handler) *gin.Engine

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(s *service.UserXService) *Handler

func (*Handler) CreateUserInfo

func (h *Handler) CreateUserInfo(ctx *gin.Context)

func (*Handler) GetUserInfo

func (h *Handler) GetUserInfo(c *gin.Context)

Jump to

Keyboard shortcuts

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