Documentation ¶
Index ¶
- Constants
- func ConfigEsAuthorizationHeader() string
- func ConfigEsPrivateIndex() string
- func ConfigEsPublicIndex() string
- func ConfigEsUrl() *url.URL
- func ConfigHasuraUrl() *url.URL
- func ConfigListenAddress() string
- func NewHasuraService(authzSvc authz.Service) http.Handler
- func NewReverseProxyMock() http.Handler
- type HasuraHandler
- type ReverseProxyMock
Constants ¶
View Source
const ( LOG_PARAM_USER_ID = "USER_ID" LOG_PARAM_ACCOUNT_ID = "ACCOUNT_ID" LOG_PARAM_ROLE_ID = "ROLE_ID" )
Variables ¶
This section is empty.
Functions ¶
func ConfigEsAuthorizationHeader ¶
func ConfigEsAuthorizationHeader() string
func ConfigEsPrivateIndex ¶
func ConfigEsPrivateIndex() string
func ConfigEsPublicIndex ¶
func ConfigEsPublicIndex() string
func ConfigEsUrl ¶
func ConfigHasuraUrl ¶
func ConfigListenAddress ¶
func ConfigListenAddress() string
func NewReverseProxyMock ¶
Types ¶
type HasuraHandler ¶
func (*HasuraHandler) ServeHTTP ¶
func (h *HasuraHandler) ServeHTTP(res http.ResponseWriter, req *http.Request)
type ReverseProxyMock ¶
func (*ReverseProxyMock) ServeHTTP ¶
func (m *ReverseProxyMock) ServeHTTP(res http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.