How to secure request and response

How to secure request and response in golang gin framework