1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-16 02:47:03 +02:00
kratos/examples/tls
Kagaya 736fb38e79
fix: examples lint error (#1454)
* fix example lint error

* use latest version lint

* ignore zap Sync error
2021-09-09 20:45:08 +08:00
..
cert fix: correct client code in the example of TLS connection (#1355) 2021-08-17 23:07:06 +08:00
client fix: correct client code in the example of TLS connection (#1355) 2021-08-17 23:07:06 +08:00
server fix: examples lint error (#1454) 2021-09-09 20:45:08 +08:00
README.md feat(transport): add transport tls config (#1267) 2021-07-28 13:36:15 +08:00
tls_test.go fix: examples lint error (#1454) 2021-09-09 20:45:08 +08:00

Run the example

1、Compile and execute the server code:

$ go run server/main.go

2、From a different terminal, compile and execute the client code:

$ go run client/main.go