# README
Server
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.
Installation
go get github.com/foundryservices/rosetta-sdk-go/server
Components
Router
The router is a Mux router that routes traffic to the correct controller.
Controller
Contollers are automatically generated code that specify an interface that a service must implement.
Services
Services are implemented by you to populate responses. These services are invoked by controllers.
Recommended Folder Structure
main.go
/services
block_service.go
network_service.go
...
Examples
Check out the examples to see how easy it is to create your own server.