支持列表
框架
框架 | Go探针嵌码 import 模块路径 | 支持版本 |
---|---|---|
net/http 内置http框架 | github.com/TingYunGo/goagent | go1.9 ~ go1.17.x |
github.com/gin-gonic/gin gin框架 | github.com/TingYunGo/goagent/frameworks/gin | gin v1.3.0 ~ gin v1.7.4 |
github.com/astaxie/beego beego框架: GOPATH模式 | github.com/TingYunGo/goagent/frameworks/beego/path/astaxie | beego v1.12.0 ~ beego v2.0.0-beta |
github.com/beego/beego beego框架: GOPATH模式 | github.com/TingYunGo/goagent/frameworks/beego/path | beego v1.12.0 ~ beego v2.0.1 |
github.com/beego/beego beego框架v1: GOMOD模式 | github.com/TingYunGo/goagent/frameworks/beego | beego v1.12.0 ~ beego v1.12.3 |
github.com/beego/beego/v2 beego框架v2: GOMOD模式 | github.com/TingYunGo/goagent/frameworks/beego/v2 | beego v2.0.0 ~ beego v2.0.1 |
github.com/labstack/echo echo 框架 GOPATH模式 | github.com/TingYunGo/goagent/frameworks/echo | echo v3.3.10 ~ echo v4.6.1 |
github.com/labstack/echo/v4 echo 框架 V4 GOMOD模式 | github.com/TingYunGo/goagent/frameworks/echo/v4 | echo v4.0.0 ~ echo v4.6.1 |
github.com/kataras/iris/v12 iris 框架 v12.1.x | github.com/TingYunGo/goagent/frameworks/iris/v12 | iris v12.1.0 ~ iris v12.1.8 |
github.com/kataras/iris/v12 iris 框架 v12.2 | github.com/TingYunGo/goagent/frameworks/iris/v12/2 | iris v12.2.0-alpha ~ iris v12.2.0-alpha3 |
组件
组件 | Go探针嵌码 import 模块路径 | 支持版本 |
---|---|---|
Database/SQL数据库 | github.com/TingYunGo/goagent/database | go1.9 ~ go1.17.x </br>驱动列表: </br>SQL Server: github.com/denisenkom/go-mssqldb v0.9.0 ~ v0.11.0 </br>MySQL: github.com/go-sql-driver/mysql v1.0.0 ~ v1.6.0 </br>PostgreSQL: github.com/lib/pq v1.0.0 ~ v1.10.3 </br>SQLite: github.com/mattn/go-sqlite3 v1.0.0 ~ v1.14.8 |
github.com/gomodule/redigo redis: redigo | github.com/TingYunGo/goagent/nosql/redigo | v1.7.0 ~ v1.8.5 |
github.com/go-redis/redis redis: go-redis, GOPATH模式 | github.com/TingYunGo/goagent/nosql/go-redis | v6.0.0 ~ v8.11.4 |
github.com/go-redis/redis redis: go-redis default, GOMOD模式 | github.com/TingYunGo/goagent/nosql/go-redis | v6.0.0 ~ v8.11.4 |
github.com/go-redis/redis/v7 redis: go-redis v7, GOMOD模式 | github.com/TingYunGo/goagent/nosql/go-redis/v7 | v7.0.0 ~ v7.4.1 |
github.com/go-redis/redis/v8 redis: go-redis v8, GOMOD模式 | github.com/TingYunGo/goagent/nosql/go-redis/v8 | v8.0.0 ~ v8.11.4 |
Go.mongodb.org/mongo-driver/mongo mongodb | github.com/TingYunGo/goagent/nosql/mongodb | v1.1.0 ~ v1.7.3 |
数据库
常用的Go语言第三方组件支持的数据库版本如下表所示:
组件 | 支持版本 |
---|---|
mssql: github.com/denisenkom/go-mssqldb | SQL Server 2008 SP3 + |
mysql: github.com/go-sql-driver/mysql | MySQL 5.5+ |
postgresql: github.com/lib/pq | PostgreSQL 9.6+ |
sqlite: github.com/mattn/go-sqlite3 | SQLite 3.8.5 ~ 3.36.0 |
redis: redigo github.com/gomodule/redigo | Redis 4.0.0+ |
redis: go-redis github.com/go-redis/redis | Redis 4.0.0+ |
mongodb: go.mongodb.org/mongo-driver/mongo | MongoDB 2.6.1+ |