src

package
v0.2.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloudEventsReceive

func CloudEventsReceive(db *gen.DB) func(event cloudevents.Event) error

func GetMigrations

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

GetMigrations ...

func StartCloudEventsServer

func StartCloudEventsServer(db *gen.DB) error

func StoreEvent

func StoreEvent(tx *gorm.DB, event *events.Event) (err error)

Types

type ChangelogChangeResolver

type ChangelogChangeResolver struct {
	*gen.GeneratedChangelogChangeResolver
}

ChangelogChangeResolver ...

type ChangelogChangeResultTypeResolver

type ChangelogChangeResultTypeResolver struct {
	*gen.GeneratedChangelogChangeResultTypeResolver
}

ChangelogChangeResultTypeResolver ...

type ChangelogResolver

type ChangelogResolver struct {
	*gen.GeneratedChangelogResolver
}

ChangelogResolver ...

type ChangelogResultTypeResolver

type ChangelogResultTypeResolver struct {
	*gen.GeneratedChangelogResultTypeResolver
}

ChangelogResultTypeResolver ...

type MutationResolver

type MutationResolver struct {
	*gen.GeneratedMutationResolver
}

MutationResolver ...

func (*MutationResolver) BeginTransaction

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

BeginTransaction ...

type QueryResolver

type QueryResolver struct {
	*gen.GeneratedQueryResolver
}

QueryResolver ...

type Resolver

type Resolver struct {
	*gen.GeneratedResolver
}

Resolver ...

func New

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

New ...

func NewResolver

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

NewResolver ...

func (*Resolver) Changelog

func (r *Resolver) Changelog() gen.ChangelogResolver

Changelog ...

func (*Resolver) ChangelogChange

func (r *Resolver) ChangelogChange() gen.ChangelogChangeResolver

ChangelogChange ...

func (*Resolver) ChangelogChangeResultType

func (r *Resolver) ChangelogChangeResultType() gen.ChangelogChangeResultTypeResolver

ChangelogChangeResultType ...

func (*Resolver) ChangelogResultType

func (r *Resolver) ChangelogResultType() gen.ChangelogResultTypeResolver

ChangelogResultType ...

func (*Resolver) Mutation

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

Mutation ...

func (*Resolver) Query

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

Query ...

Jump to

Keyboard shortcuts

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