Skip to content

tangjiang/kratos-examples

 
 

Repository files navigation

examples

English | 简体中文

  • blog is simple crud project.
  • config is kratos config example.
  • errors is kratos errors example, it is generated through proto-gen-go-errors.
  • helloworld is helloworld example.
  • http is transport/http some examples of usage.
  • log is log example, including、logger、helper、filter、valuer, etc.
  • metadata is metadata example.
  • metrics is metrics example, in the example, prom is used to collect data.
  • registry is registration and discovery examples,including Etcd, Consul, Nacos.
  • traces is middleware/tracing example,middleware/tracing is implemented by opentelemetry.
  • validate is middleware/validate example, the verification code is generated by proto-gen-validate.
  • ws is implementation of transport interface with websocket example.
  • swagger is implementation of server with embed swagger api.

About

Examples of Kratos framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 73.7%
  • TypeScript 13.7%
  • Makefile 3.9%
  • Vue 3.1%
  • Batchfile 1.8%
  • JavaScript 1.0%
  • Other 2.8%