@vishal hey! Both of them return structs that conform to the network.Stream interface. See godocs:
You shouldn’t be needed to access the actual implementation type. Do you have a code sample you can post? Or maybe we can pair on this? (ping me via email)
What are you trying to achieve exactly?