protect

package
v0.12.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 18 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL