Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GraphQLErrorMessage ¶
func GraphQLErrorMessage(w http.ResponseWriter, msg []byte, error_code string, code int)
func GraphQLSmartErrorMessage ¶
func GraphQLSmartErrorMessage(w http.ResponseWriter, msg interface{}, code int)
Types ¶
type DynamicView ¶
func (*DynamicView) ServeHTTP ¶
func (dView *DynamicView) ServeHTTP(w http.ResponseWriter, r *http.Request)
type GraphQLView ¶
func (*GraphQLView) ServeHTTP ¶
func (gqlView *GraphQLView) ServeHTTP(w http.ResponseWriter, r *http.Request)
type WebSocketUpgradeView ¶
func (*WebSocketUpgradeView) InstallProtocolSelector ¶
func (wsu *WebSocketUpgradeView) InstallProtocolSelector()
Any JWT token with bearer is selected as protocol This is a hack to pass jwt token using Sec-WebSocket-Protocol header
func (*WebSocketUpgradeView) ServeHTTP ¶
func (wsu *WebSocketUpgradeView) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.