connect with c gateway server in golang