Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRedacted = errors.New("error(s) redacted")
)
Functions ¶
This section is empty.
Types ¶
type GraphQLProtect ¶
type GraphQLProtect struct {
// contains filtered or unexported fields
}
func NewGraphQLProtect ¶
func NewGraphQLProtect(log *slog.Logger, cfg *config.Config, po *persisted_operations.PersistedOperationsHandler, schema *schema.Provider, upstreamHandler http.Handler) (*GraphQLProtect, error)
func (*GraphQLProtect) ServeHTTP ¶
func (p *GraphQLProtect) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.