reverse engineering struct, interface and channels.