You can learn about how to use streaming read/write using hertz server and client
note: if you receive data with StreamBody at client or server, you only can access the trailers after reading body.
- start server and send request with trailer
go run main.go