Documentation ¶ Index ¶ func Handle(handlers ...common.Handler) http.Handler func Init() *mux.Router type NewConfig Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Handle ¶ func Handle(handlers ...common.Handler) http.Handler Handle takes multiple Handler and executes them in a serial order starting from first to last. In case, Any middle ware returns an error, The error is logged to console and sent to the user, Middlewares further up in chain are not executed. func Init ¶ func Init() *mux.Router Types ¶ type NewConfig ¶ type NewConfig struct { Name string Host string Email string Description string Image string PodcastURL string } Source Files ¶ View all Source files router.go Click to show internal directories. Click to hide internal directories.