zerovalidationgrpcmw

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithErrorPresenter

func WithErrorPresenter(presenter ErrorPresenter) grpc.UnaryServerInterceptor

WithErrorPresenter ...

func WithOnceValidateContext

func WithOnceValidateContext(factory OnceValidateContextFactory) grpc.UnaryServerInterceptor

WithOnceValidateContext ...

Types

type ErrorPresenter

type ErrorPresenter interface {
	Present(errors verrors.Errors) error
}

ErrorPresenter ...

type OnceValidateContextFactory

type OnceValidateContextFactory func() validatecontext.Context

OnceValidateContextFactory ...

func DefaultOnceValidateContextFactory

func DefaultOnceValidateContextFactory() OnceValidateContextFactory

DefaultOnceValidateContextFactory ...

Jump to

Keyboard shortcuts

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