resolver

package
v0.0.0-...-4decbf1 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package resolver is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface int

type MockResolver

type MockResolver struct {
	// contains filtered or unexported fields
}

MockResolver is a mock of Resolver interface.

func NewMockResolver

func NewMockResolver(ctrl *gomock.Controller) *MockResolver

NewMockResolver creates a new mock instance.

func (*MockResolver) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockResolverMockRecorder

type MockResolverMockRecorder struct {
	// contains filtered or unexported fields
}

MockResolverMockRecorder is the mock recorder for MockResolver.

type Resolver

type Resolver interface {
}

func NewResolver

func NewResolver(opts ...ResolverOption) Resolver

type ResolverOption

type ResolverOption func(*resolver)

func WithPostgresDatabase

func WithPostgresDatabase(db *bun.DB) ResolverOption

func WithSingletonFor

func WithSingletonFor(adapters ...Interface) ResolverOption

func WithTimeoutFor

func WithTimeoutFor(adapter Interface, timeout time.Duration) ResolverOption

Jump to

Keyboard shortcuts

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