Documentation ¶ Index ¶ func Router(baseURL string) *chi.Mux type Payload Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Router ¶ func Router(baseURL string) *chi.Mux Router takes a base URL for prefixing all URLs returned to the client (so you don't need to burn a subdomain for this service) and returns an http.Handler that can accept all traffic Types ¶ type Payload ¶ type Payload struct { SecondsPoll int NumCols int Cards []metrics.Card } Source Files ¶ View all Source files files_prod.go routes.go Click to show internal directories. Click to hide internal directories.