1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +02:00
Files
kratos/examples/tls
Eng Zer Jun 77b16286f8 refactor: move from io/ioutil to io and os packages (#1633)
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-16 13:22:35 +08:00
..
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