Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Latest commit

 

History

History
24 lines (16 loc) · 457 Bytes

File metadata and controls

24 lines (16 loc) · 457 Bytes

WebX

概述

WebX 是一个封装好的 Web 服务开发框架

包含以下功能:

  • systemd 守护进程
  • config 自动加载配置
  • handler
    • 原始 gin.HandlerFunc(*gin.Content)
    • 二次封装接口 webx.HandlerFunc[T,P any] func(context.Context,T) (P, error)

目录结构

  • /webx : WebX 框架
  • /config : 配置文件
  • /service : 业务服务
  • /handler : 业务接口

使用

go get -u github.com/virzz/webx@latest