You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
longxboy
4e529d1e30
|
3 years ago | |
---|---|---|
.. | ||
benchmark | 4 years ago | |
blog | 4 years ago | |
config | 3 years ago | |
errors | 4 years ago | |
header | 4 years ago | |
helloworld | 4 years ago | |
http | 3 years ago | |
i18n | 4 years ago | |
log | 4 years ago | |
metadata | 4 years ago | |
metrics | 4 years ago | |
middleware | 4 years ago | |
registry | 3 years ago | |
swagger | 4 years ago | |
traces | 4 years ago | |
validate | 4 years ago | |
ws | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
go.mod | 3 years ago | |
go.sum | 3 years ago |
README.md
examples
- examples/blog is simple crud project.
- examples/config is kratos config example.
- examples/errors is kratos errors example, it is generated through proto-gen-go-errors.
- examples/helloworld is helloworld example.
- examples/http is transport/http some examples of usage.
- examples/log is log example, including、logger、helper、filter、valuer, etc.
- examples/metadata is metadata example.
- examples/metrics is metrics example, in the example, prom is used to collect data.
- examples/registry is registration and discovery examples,including Etcd, Consul, Nacos.
- examples/traces is middleware/tracing example,middleware/tracing is implemented by opentelemetry.
- examples/validate is middleware/validate example, the verification code is generated by proto-gen-validate.
- examples/ws is implementation of transport interface with websocket example.
- examples/swagger is implementation of server with embed swagger api.