synapsecns/sanguine

View on GitHub
services/scribe/graphql/server/graph/resolver.go

Summary

Maintainability
A
0 mins
Test Coverage
package graph

import (
    "github.com/synapsecns/sanguine/core/metrics"
    "github.com/synapsecns/sanguine/services/scribe/db"
)

// This file will not be regenerated automatically.
//
// It serves as dependency injection for your app, add any dependencies you require here.

// Resolver is the root resolver.
//
//go:generate go run github.com/synapsecns/sanguine/services/scribe/graphql/contrib
type Resolver struct {
    OmniRPCURL string
    DB         db.EventDB
    Metrics    metrics.Handler
}