Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutableSchema ¶
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
Types ¶
type ComplexityRoot ¶
type ComplexityRoot struct { InitializeSessionResponse struct { ProjectID func(childComplexity int) int SecureID func(childComplexity int) int } Mutation struct { AddSessionFeedback func(childComplexity int, sessionSecureID string, userName *string, userEmail *string, verbatim string, timestamp time.Time) int AddSessionProperties func(childComplexity int, sessionSecureID string, propertiesObject interface{}) int IdentifySession func(childComplexity int, sessionSecureID string, userIdentifier string, userObject interface{}) int InitializeSession func(childComplexity int, sessionSecureID string, organizationVerboseID string, enableStrictPrivacy bool, enableRecordingNetworkContents bool, clientVersion string, firstloadVersion string, clientConfig string, environment string, appVersion *string, serviceName *string, fingerprint string, clientID string, networkRecordingDomains []string, disableSessionRecording *bool, privacySetting *string) int MarkBackendSetup func(childComplexity int, projectID *string, sessionSecureID *string, typeArg *string) int PushBackendPayload func(childComplexity int, projectID *string, errors []*model.BackendErrorObjectInput) int PushMetrics func(childComplexity int, metrics []*model.MetricInput) int PushPayload func(childComplexity int, sessionSecureID string, payloadID *int, events model.ReplayEventsInput, messages string, resources string, webSocketEvents *string, errors []*model.ErrorObjectInput, isBeacon *bool, hasSessionUnloaded *bool, highlightLogs *string) int PushPayloadCompressed func(childComplexity int, sessionSecureID string, payloadID int, data string) int } Query struct { Ignore func(childComplexity int, id int) int } Session struct { ID func(childComplexity int) int OrganizationID func(childComplexity int) int ProjectID func(childComplexity int) int SecureID func(childComplexity int) int } }
type Config ¶
type Config struct { Schema *ast.Schema Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type MutationResolver ¶
type MutationResolver interface { InitializeSession(ctx context.Context, sessionSecureID string, organizationVerboseID string, enableStrictPrivacy bool, enableRecordingNetworkContents bool, clientVersion string, firstloadVersion string, clientConfig string, environment string, appVersion *string, serviceName *string, fingerprint string, clientID string, networkRecordingDomains []string, disableSessionRecording *bool, privacySetting *string) (*model.InitializeSessionResponse, error) IdentifySession(ctx context.Context, sessionSecureID string, userIdentifier string, userObject interface{}) (string, error) AddSessionProperties(ctx context.Context, sessionSecureID string, propertiesObject interface{}) (string, error) PushPayload(ctx context.Context, sessionSecureID string, payloadID *int, events model.ReplayEventsInput, messages string, resources string, webSocketEvents *string, errors []*model.ErrorObjectInput, isBeacon *bool, hasSessionUnloaded *bool, highlightLogs *string) (int, error) PushPayloadCompressed(ctx context.Context, sessionSecureID string, payloadID int, data string) (interface{}, error) PushBackendPayload(ctx context.Context, projectID *string, errors []*model.BackendErrorObjectInput) (interface{}, error) PushMetrics(ctx context.Context, metrics []*model.MetricInput) (int, error) MarkBackendSetup(ctx context.Context, projectID *string, sessionSecureID *string, typeArg *string) (interface{}, error) AddSessionFeedback(ctx context.Context, sessionSecureID string, userName *string, userEmail *string, verbatim string, timestamp time.Time) (string, error) }
type QueryResolver ¶
type ResolverRoot ¶
type ResolverRoot interface { Mutation() MutationResolver Query() QueryResolver Session() SessionResolver }
Click to show internal directories.
Click to hide internal directories.