• Stars
    star
    315
  • Rank 132,951 (Top 3 %)
  • Language
    Go
  • License
    MIT License
  • Created over 2 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Examples of Kratos framework

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.