src

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMigrations added in v0.1.2

func GetMigrations(db *gen.DB) []*gormigrate.Migration

Types

type MutationResolver

type MutationResolver struct {
	*gen.GeneratedMutationResolver
}

func (*MutationResolver) BeginTransaction added in v0.1.2

func (r *MutationResolver) BeginTransaction(ctx context.Context, fn func(context.Context) error) error

func (*MutationResolver) CreateNotificationBatchUpdate added in v0.1.10

func (r *MutationResolver) CreateNotificationBatchUpdate(ctx context.Context, input gen.NotificationBatchUpdateCreateInput) (res *gen.NotificationBatchUpdate, err error)

func (*MutationResolver) SeenNotification

func (r *MutationResolver) SeenNotification(ctx context.Context, id string) (*gen.Notification, error)

func (*MutationResolver) SeenNotifications

func (r *MutationResolver) SeenNotifications(ctx context.Context, principal string, channel *string, reference *string, referenceID *string) (ok bool, err error)

type NotificationResultTypeResolver

type NotificationResultTypeResolver struct {
	*gen.GeneratedNotificationResultTypeResolver
}

type QueryResolver

type QueryResolver struct {
	*gen.GeneratedQueryResolver
}

type Resolver

type Resolver struct {
	*gen.GeneratedResolver
}

func New

func New(db *gen.DB, ec *gen.EventController) *Resolver

func NewResolver

func NewResolver(db *gen.DB, ec *gen.EventController) *Resolver

func (*Resolver) Mutation

func (r *Resolver) Mutation() gen.MutationResolver

func (*Resolver) NotificationResultType

func (r *Resolver) NotificationResultType() gen.NotificationResultTypeResolver

func (*Resolver) Query

func (r *Resolver) Query() gen.QueryResolver

Jump to

Keyboard shortcuts

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