Documentation ¶
Index ¶
- func AddFields(ctx context.Context, fields ...zap.Field)
- func Error(ctx context.Context, err error) error
- func Logger(ctx context.Context) *zap.Logger
- func NewLogger(isDev bool) (*zap.Logger, error)
- func NewMiddleware(gcpProjectID string, logger *zap.Logger) func(next http.Handler) http.Handler
- type GraphQLResponseInterceptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GraphQLResponseInterceptor ¶
type GraphQLResponseInterceptor struct{}
func (GraphQLResponseInterceptor) ExtensionName ¶
func (g GraphQLResponseInterceptor) ExtensionName() string
func (GraphQLResponseInterceptor) InterceptResponse ¶
func (g GraphQLResponseInterceptor) InterceptResponse(ctx context.Context, next graphql.ResponseHandler) *graphql.Response
func (GraphQLResponseInterceptor) Validate ¶
func (g GraphQLResponseInterceptor) Validate(schema graphql.ExecutableSchema) error
Click to show internal directories.
Click to hide internal directories.