Documentation ¶
Overview ¶
Package router provides the top-level router
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router is the top-level router instance wrapping it's dependencies TODO <2020/12/09>: Think about a better way to pass in the broadcatser hub
func New ¶
New creates a new router instance and returns it
func (*Router) AddRoutes ¶
AddRoutes adds all routes to the router instance and registers the handlers
Click to show internal directories.
Click to hide internal directories.