Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugMux ¶
func DebugMux(build string, log *zap.SugaredLogger) http.Handler
DebugMux registers all the debug standard library routes and then custom debug application routes for the service. This bypassing the use of the DefaultServerMux. Using the DefaultServerMux would be a security risk since a dependency could inject a handler into our service without us knowing it.
func PrivateMux ¶
PrivateMux constructs a http.Handler with all application routes defined.
Types ¶
Click to show internal directories.
Click to hide internal directories.