2 Star 0 Fork 0

carlmax_my/console-core-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

What is console-core-go?

console-core-go is a modular design API framework based on Gin, which encapsulates commonly used functions, is simple to use, and is committed to fast business Research and development, while adding more restrictions, restrict the development members of the project team, avoid chaos, disorder and free and arbitrary coding.

Features:

  1. Rate-limited APIs supported by rate
  2. Email notification when panic occurs
  3. Cross-Origin Resource Sharing supported by cors
  4. Metrics monitoring and alerting by Prometheus
  5. Automatically generate RESTful API documentation supported by Swagger
  6. Trace project internal invoking
  7. Visualized performance analysis supported by pprof
  8. Uniformly defined error codes supported by err-no
  9. Blazing fast, structured, leveled logging system by zap
  10. Complete configuration solution supported by viper
  11. Developer Friendly ORM library supported by gorm
  12. Redis supported by go-redis
  13. Standard RESTful API return value
  14. CURD code generator , controller generator, etc.

websocket hub

https://github.com/eleven26/go-pusher

winipcfg is copying from:

golang.zx2c4.com/wireguard/windows golang.zx2c4.com/wireguard/windows/tunnel/winipcfg

wireguard-go module netstack and tun:

特性 netstack(纯用户空间) TUN/TAP(内核接口) 网络栈位置 完全在用户空间实现 依赖内核网络栈 系统调用 无需特殊权限(除绑定端口外) 需要 root 权限或特殊 CAP_NET_ADMIN 权限 性能 略低(用户空间与内核数据拷贝) 略高(直接在内核处理) 跨平台兼容性 更好(不依赖特定内核接口) 需适配不同操作系统的 TUN/TAP 实现 典型应用场景 沙箱环境、无特权容器、简化网络配置 常规 VPN、需要与内核网络集成的场景

wgctrl 库是基于电脑上已经装了wireguard官方的客户端,所以用wgctrl来配置wireguard,基于wg0.conf文件

wireguard-go实现了用户态的wireguard协议,用ipcSet的方式管理配置,不是wg0.conf文件,他不需要这个文件

MIT License Copyright (c) 2024 carlmax_my Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

暂无描述 展开 收起
README
MIT
取消

发行版

暂无发行版

贡献者

全部

语言

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/carlmax_my/console-core-go.git
git@gitee.com:carlmax_my/console-core-go.git
carlmax_my
console-core-go
console-core-go
master

搜索帮助