package
module
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Oct 29, 2021
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
xservice
Another excellent micro service framework
Features
- RESTful API (base on echo/v4)
- gRPC & gRPC gateway service & Swagger document generation
- Service discovery (base on ETCD/v3)
- gRPC & gRPC-Gateway & RESTful API all in one tcp port, mux via
cmux
- Builtin middlewares & easily to extended
- Prometheus & Tracing (jaeger) & Sentry integrated
- Embed toolset for code generation (e.g. GORM & model CRUD & project layout)
Quick start
Install toolset.
go install github.com/xinpianchang/xservice/tools/xservice@latest
Create new project via toolset.
mkdir hello
cd hello
xservice new --module github.com/example/hello
Open the generated README.md
file, following the initialize steps and happing coding. 🎉
Resource
Documentation
¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.