mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-22 03:38:41 +02:00
5ca42fe921
* add http tls config * add grpc tls config * add examples tls * fix resolver parseTarget * support https for discovery * add isSecure * clean code Co-authored-by: longXboy <longxboyhi@gmail.com> Co-authored-by: 包子 <baozhecheng@foxmail.com>
201 B
201 B
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