module
Version:
v0.0.0-...-1c37eff
Opens a new window with list of versions in this module.
Published: Mar 14, 2022
License: MIT
Opens a new window with license information.
README
¶
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.
Directories
¶
auth
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
errors
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
header
|
|
|
|
|
|
|
|
|
|
|
|
http
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
metadata
|
|
|
|
|
|
|
|
|
|
registry
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
selector
|
|
|
|
|
|
stream
|
|
|
|
|
|
|
|
|
|
swagger
|
|
|
|
|
|
|
|
tls
|
|
|
|
|
|
traces
|
|
|
|
|
|
|
|
|
|
transaction
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.