db

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditorCheckServiceProvider

type AuditorCheckServiceProvider struct {

	// MaxPageSize is the storage layer's configured max read page size, passed to
	// the default checkers so they page within the guard layer's cap. 0 means the
	// built-in default is used.
	MaxPageSize int
	// contains filtered or unexported fields
}

AuditorCheckServiceProvider creates check services for auditors. It combines default checkers with custom checkers for database validation.

func NewAuditorCheckServiceProvider

func NewAuditorCheckServiceProvider(tmsProvider common.TokenManagementServiceProvider, networkProvider common.NetworkProvider, checkers []common.NamedChecker) *AuditorCheckServiceProvider

NewAuditorCheckServiceProvider creates a new auditor check service provider.

func (*AuditorCheckServiceProvider) CheckService

CheckService creates a check service for the given TMS ID and databases. It combines default checkers with custom checkers provided during initialization.

type OwnerCheckServiceProvider

type OwnerCheckServiceProvider struct {

	// MaxPageSize is the storage layer's configured max read page size, passed to
	// the default checkers so they page within the guard layer's cap. 0 means the
	// built-in default is used.
	MaxPageSize int
	// contains filtered or unexported fields
}

OwnerCheckServiceProvider creates check services for token owners. It combines default checkers with custom checkers for database validation.

func NewOwnerCheckServiceProvider

func NewOwnerCheckServiceProvider(tmsProvider common.TokenManagementServiceProvider, networkProvider common.NetworkProvider, checkers []common.NamedChecker) *OwnerCheckServiceProvider

NewOwnerCheckServiceProvider creates a new owner check service provider.

func (*OwnerCheckServiceProvider) CheckService

CheckService creates a check service for the given TMS ID and databases. It combines default checkers with custom checkers provided during initialization.

Jump to

Keyboard shortcuts

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