├── .github └── workflows │ └── go.yml ├── .gitignore ├── LICENSE ├── application ├── app.go ├── db.go ├── httpserver.go ├── logger.go ├── mongo.go ├── plugin.go ├── redis.go ├── rpcserver.go └── tracer.go ├── config ├── config.go ├── database.go ├── load.go ├── logger.go ├── server.go └── trace.go ├── database ├── gorm │ ├── db.go │ ├── gdb.go │ ├── logger.go │ └── model.go ├── mongo │ ├── db.go │ ├── logger.go │ ├── mdb.go │ └── model.go └── redigo │ ├── interface.go │ ├── logger │ └── logger.go │ ├── mode │ ├── alone │ │ ├── alone.go │ │ └── options.go │ ├── cluster │ │ ├── cluster.go │ │ └── options.go │ └── sentinel │ │ ├── options.go │ │ └── sentinel.go │ ├── options.go │ ├── redigo.go │ ├── smart_redis │ ├── smart_redis.go │ └── smart_redis_test.go │ └── tools │ └── subscribe.go ├── error-support ├── ast_support.go ├── err_support.go └── walk.go ├── examples_mongo_usage.md ├── go.mod ├── go.sum ├── logger ├── config.go ├── console.go ├── file.go ├── log.go ├── logger.go ├── nultifile.go ├── request.go ├── textcolor.go └── util.go ├── readme-ZH.md ├── readme.md ├── server ├── http │ ├── middleware │ │ ├── middleware.go │ │ └── option.go │ ├── mode.go │ ├── server.go │ └── tools.go └── rpcx │ ├── client.go │ ├── header.go │ ├── middleware.go │ └── server.go ├── swagger ├── swagger.go └── swagger_test.go ├── telemetry ├── model.go ├── telemetry.go └── traceId.go └── tools └── rpccall ├── Makefile ├── lib.pb.go ├── lib.proto ├── messagepack.go └── proto.go /.github/workflows/go.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/.github/workflows/go.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/LICENSE -------------------------------------------------------------------------------- /application/app.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/application/app.go -------------------------------------------------------------------------------- /application/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/application/db.go -------------------------------------------------------------------------------- /application/httpserver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/application/httpserver.go -------------------------------------------------------------------------------- /application/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/application/logger.go -------------------------------------------------------------------------------- /application/mongo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/application/mongo.go -------------------------------------------------------------------------------- /application/plugin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/application/plugin.go -------------------------------------------------------------------------------- /application/redis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/application/redis.go -------------------------------------------------------------------------------- /application/rpcserver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/application/rpcserver.go -------------------------------------------------------------------------------- /application/tracer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/application/tracer.go -------------------------------------------------------------------------------- /config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/config/config.go -------------------------------------------------------------------------------- /config/database.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/config/database.go -------------------------------------------------------------------------------- /config/load.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/config/load.go -------------------------------------------------------------------------------- /config/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/config/logger.go -------------------------------------------------------------------------------- /config/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/config/server.go -------------------------------------------------------------------------------- /config/trace.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/config/trace.go -------------------------------------------------------------------------------- /database/gorm/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/gorm/db.go -------------------------------------------------------------------------------- /database/gorm/gdb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/gorm/gdb.go -------------------------------------------------------------------------------- /database/gorm/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/gorm/logger.go -------------------------------------------------------------------------------- /database/gorm/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/gorm/model.go -------------------------------------------------------------------------------- /database/mongo/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/mongo/db.go -------------------------------------------------------------------------------- /database/mongo/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/mongo/logger.go -------------------------------------------------------------------------------- /database/mongo/mdb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/mongo/mdb.go -------------------------------------------------------------------------------- /database/mongo/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/mongo/model.go -------------------------------------------------------------------------------- /database/redigo/interface.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/redigo/interface.go -------------------------------------------------------------------------------- /database/redigo/logger/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/redigo/logger/logger.go -------------------------------------------------------------------------------- /database/redigo/mode/alone/alone.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/redigo/mode/alone/alone.go -------------------------------------------------------------------------------- /database/redigo/mode/alone/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/redigo/mode/alone/options.go -------------------------------------------------------------------------------- /database/redigo/mode/cluster/cluster.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/redigo/mode/cluster/cluster.go -------------------------------------------------------------------------------- /database/redigo/mode/cluster/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/redigo/mode/cluster/options.go -------------------------------------------------------------------------------- /database/redigo/mode/sentinel/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/redigo/mode/sentinel/options.go -------------------------------------------------------------------------------- /database/redigo/mode/sentinel/sentinel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/redigo/mode/sentinel/sentinel.go -------------------------------------------------------------------------------- /database/redigo/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/redigo/options.go -------------------------------------------------------------------------------- /database/redigo/redigo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/redigo/redigo.go -------------------------------------------------------------------------------- /database/redigo/smart_redis/smart_redis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/redigo/smart_redis/smart_redis.go -------------------------------------------------------------------------------- /database/redigo/smart_redis/smart_redis_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/redigo/smart_redis/smart_redis_test.go -------------------------------------------------------------------------------- /database/redigo/tools/subscribe.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/database/redigo/tools/subscribe.go -------------------------------------------------------------------------------- /error-support/ast_support.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/error-support/ast_support.go -------------------------------------------------------------------------------- /error-support/err_support.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/error-support/err_support.go -------------------------------------------------------------------------------- /error-support/walk.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/error-support/walk.go -------------------------------------------------------------------------------- /examples_mongo_usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/examples_mongo_usage.md -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/go.sum -------------------------------------------------------------------------------- /logger/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/logger/config.go -------------------------------------------------------------------------------- /logger/console.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/logger/console.go -------------------------------------------------------------------------------- /logger/file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/logger/file.go -------------------------------------------------------------------------------- /logger/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/logger/log.go -------------------------------------------------------------------------------- /logger/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/logger/logger.go -------------------------------------------------------------------------------- /logger/nultifile.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/logger/nultifile.go -------------------------------------------------------------------------------- /logger/request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/logger/request.go -------------------------------------------------------------------------------- /logger/textcolor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/logger/textcolor.go -------------------------------------------------------------------------------- /logger/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/logger/util.go -------------------------------------------------------------------------------- /readme-ZH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/readme-ZH.md -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/readme.md -------------------------------------------------------------------------------- /server/http/middleware/middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/server/http/middleware/middleware.go -------------------------------------------------------------------------------- /server/http/middleware/option.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/server/http/middleware/option.go -------------------------------------------------------------------------------- /server/http/mode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/server/http/mode.go -------------------------------------------------------------------------------- /server/http/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/server/http/server.go -------------------------------------------------------------------------------- /server/http/tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/server/http/tools.go -------------------------------------------------------------------------------- /server/rpcx/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/server/rpcx/client.go -------------------------------------------------------------------------------- /server/rpcx/header.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/server/rpcx/header.go -------------------------------------------------------------------------------- /server/rpcx/middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/server/rpcx/middleware.go -------------------------------------------------------------------------------- /server/rpcx/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/server/rpcx/server.go -------------------------------------------------------------------------------- /swagger/swagger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/swagger/swagger.go -------------------------------------------------------------------------------- /swagger/swagger_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/swagger/swagger_test.go -------------------------------------------------------------------------------- /telemetry/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/telemetry/model.go -------------------------------------------------------------------------------- /telemetry/telemetry.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/telemetry/telemetry.go -------------------------------------------------------------------------------- /telemetry/traceId.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/telemetry/traceId.go -------------------------------------------------------------------------------- /tools/rpccall/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/tools/rpccall/Makefile -------------------------------------------------------------------------------- /tools/rpccall/lib.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/tools/rpccall/lib.pb.go -------------------------------------------------------------------------------- /tools/rpccall/lib.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/tools/rpccall/lib.proto -------------------------------------------------------------------------------- /tools/rpccall/messagepack.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/tools/rpccall/messagepack.go -------------------------------------------------------------------------------- /tools/rpccall/proto.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/team-dandelion/go-dandelion/HEAD/tools/rpccall/proto.go --------------------------------------------------------------------------------