hooks

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AfterCreatorAPI

type AfterCreatorAPI interface {
	AfterCreateAPI(ctx context.Context, s *query.Scope) error
}

AfterCreatorAPI is the hook triggered in the API handler after the value is being inserted into database.

type AfterDeleterAPI

type AfterDeleterAPI interface {
	AfterDeleteAPI(ctx context.Context, s *query.Scope) error
}

AfterDeleterAPI is the hook triggered in the API handler after the value is being deleted from the database.

type AfterGetterAPI

type AfterGetterAPI interface {
	AfterGetAPI(ctx context.Context, s *query.Scope) error
}

AfterGetterAPI is the hook triggered in the API handler after the value is taken from the database.

type AfterListerAPI

type AfterListerAPI interface {
	AfterListAPI(ctx context.Context, s *query.Scope) error
}

AfterListerAPI is the hook triggered in the API handler after the values are being listed from the database.

type AfterPatcherAPI

type AfterPatcherAPI interface {
	AfterPatchAPI(ctx context.Context, s *query.Scope) error
}

AfterPatcherAPI is the hook triggered in the API handler after the value is being patched into database.

type BeforeCreatorAPI

type BeforeCreatorAPI interface {
	BeforeCreateAPI(ctx context.Context, s *query.Scope) error
}

BeforeCreatorAPI is the hook triggered in the API handler before the value is being inserted into database.

type BeforeDeleterAPI

type BeforeDeleterAPI interface {
	BeforeDeleteAPI(ctx context.Context, s *query.Scope) error
}

BeforeDeleterAPI is the hook triggered in the API handler before the value is being deleted from the database.

type BeforeGetterAPI

type BeforeGetterAPI interface {
	BeforeGetAPI(ctx context.Context, s *query.Scope) error
}

BeforeGetterAPI is the hook triggered in the API handler before the value is taken from the database.

type BeforeListerAPI

type BeforeListerAPI interface {
	BeforeListAPI(ctx context.Context, s *query.Scope) error
}

BeforeListerAPI is the hook triggered in the API handler before the values are being listed from the database.

type BeforePatcherAPI

type BeforePatcherAPI interface {
	BeforePatchAPI(ctx context.Context, s *query.Scope) error
}

BeforePatcherAPI is the hook triggered in the API handler before the value is being patched into database.

Jump to

Keyboard shortcuts

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