Documentation ¶
Index ¶
- func GetMigrations(db *gen.DB) []*gormigrate.Migration
- type MutationResolver
- func (r *MutationResolver) BeginTransaction(ctx context.Context, fn func(context.Context) error) error
- func (r *MutationResolver) CreateNotificationBatchUpdate(ctx context.Context, input gen.NotificationBatchUpdateCreateInput) (res *gen.NotificationBatchUpdate, err error)
- func (r *MutationResolver) SeenNotification(ctx context.Context, id string) (*gen.Notification, error)
- func (r *MutationResolver) SeenNotifications(ctx context.Context, principal string, channel *string, reference *string, ...) (ok bool, err error)
- type NotificationResultTypeResolver
- type QueryResolver
- type Resolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMigrations ¶ added in v0.1.2
Types ¶
type MutationResolver ¶
type MutationResolver struct {
*gen.GeneratedMutationResolver
}
func (*MutationResolver) BeginTransaction ¶ added in v0.1.2
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)
type NotificationResultTypeResolver ¶
type NotificationResultTypeResolver struct {
*gen.GeneratedNotificationResultTypeResolver
}
type QueryResolver ¶
type QueryResolver struct {
*gen.GeneratedQueryResolver
}
type Resolver ¶
type Resolver struct {
*gen.GeneratedResolver
}
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
Click to show internal directories.
Click to hide internal directories.