Documentation ¶
Index ¶
Constants ¶
View Source
const (
SessionCtxName = "session"
)
Variables ¶
View Source
var Tracer opentracing.Tracer
Functions ¶
func Auth ¶
func Auth(authClient auth_service.AuthServiceClient) func(handler http.Handler) http.Handler
Types ¶
type CapturingResponseWriter ¶
type CapturingResponseWriter struct { http.ResponseWriter CapturedBody []byte StatusCode int }
func (*CapturingResponseWriter) Write ¶
func (c *CapturingResponseWriter) Write(b []byte) (int, error)
func (*CapturingResponseWriter) WriteHeader ¶
func (c *CapturingResponseWriter) WriteHeader(statusCode int)
type GraphQLRequestBody ¶
Click to show internal directories.
Click to hide internal directories.