Documentation ¶
Index ¶
- func NewSchema(client *db.Client) graphql.ExecutableSchema
- type Resolver
- func (r *Resolver) Alert() gqlgen.AlertResolver
- func (r *Resolver) File() gqlgen.FileResolver
- func (r *Resolver) Incident() gqlgen.IncidentResolver
- func (r *Resolver) IncidentSummary() gqlgen.IncidentSummaryResolver
- func (r *Resolver) Query() gqlgen.QueryResolver
- func (r *Resolver) Subscription() gqlgen.SubscriptionResolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver gives access to the DB
func (*Resolver) Alert ¶
func (r *Resolver) Alert() gqlgen.AlertResolver
Alert returns gqlgen.AlertResolver implementation.
func (*Resolver) File ¶
func (r *Resolver) File() gqlgen.FileResolver
File returns gqlgen.FileResolver implementation.
func (*Resolver) Incident ¶
func (r *Resolver) Incident() gqlgen.IncidentResolver
Incident returns gqlgen.IncidentResolver implementation.
func (*Resolver) IncidentSummary ¶
func (r *Resolver) IncidentSummary() gqlgen.IncidentSummaryResolver
IncidentSummary returns gqlgen.IncidentSummaryResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() gqlgen.QueryResolver
Query returns gqlgen.QueryResolver implementation.
func (*Resolver) Subscription ¶ added in v0.12.3
func (r *Resolver) Subscription() gqlgen.SubscriptionResolver
Subscription returns gqlgen.SubscriptionResolver implementation.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.