The Server package reduces the work required to write your own Rosetta server. In short, this package takes care of the basics (boilerplate server code and request validation) so that you can focus on code that is unique to your implementation.
go get github.com/coinbase/rosetta-sdk-go/server
The router is a Mux router that routes traffic to the correct controller.
Contollers are automatically generated code that specify an interface that a service must implement.
Services are implemented by you to populate responses. These services are invoked by controllers.
main.go
/services
block_service.go
network_service.go
...
Check out the examples to see how easy it is to create your own server.