It seems like it's pretty common in Go to provide constructors this way - basically a function with name "New<ClassName>". Maybe Gearadmin should have one that takes in the host and port to connect to?