Documentation ¶
Index ¶
Constants ¶
View Source
const ( ServiceAllowDirectHandle = "service-allow-direct-handle" ServiceRedirectorHeader = "service-redirector" )
HTTP headers.
Variables ¶
This section is empty.
Functions ¶
func ServiceRedirector ¶
func ServiceRedirector() gin.HandlerFunc
ServiceRedirector is a middleware to redirect the request to the right place.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.