Spacetime structure of static solutions in Gauss-Bonnet gravity: charged case