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 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 ¶
func (m *MockResolver) EXPECT() *MockResolverMockRecorder
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
Click to show internal directories.
Click to hide internal directories.