examples

module
v0.0.0-...-3a46aa3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2024 License: MIT

README

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.

Directories

Path Synopsis
auth
errors
http
metadata
registry
selector
stream
swagger
tls
traces
transaction
ws

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL