biz

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package biz is the place where you can implements more complex business logic.

Package biz is a generated GoMock package.

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewBiz, wire.Bind(new(IBiz), new(*biz)))

ProviderSet contains providers for creating instances of the biz struct.

Functions

func NewBiz

func NewBiz(ds store.IStore, authn authn.Authenticator, auth auth.AuthProvider) *biz

NewBiz returns a pointer to a new instance of the biz struct.

Types

type IBiz

type IBiz interface {
	Secrets() secret.SecretBiz
	Users() user.UserBiz
	Auths() authbiz.AuthBiz
}

IBiz defines a set of methods for returning interfaces that the biz struct implements.

type MockIBiz

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

MockIBiz is a mock of IBiz interface.

func NewMockIBiz

func NewMockIBiz(ctrl *gomock.Controller) *MockIBiz

NewMockIBiz creates a new mock instance.

func (*MockIBiz) Auths

func (m *MockIBiz) Auths() auth.AuthBiz

Auths mocks base method.

func (*MockIBiz) EXPECT

func (m *MockIBiz) EXPECT() *MockIBizMockRecorder

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

func (*MockIBiz) Secrets

func (m *MockIBiz) Secrets() secret.SecretBiz

Secrets mocks base method.

func (*MockIBiz) Users

func (m *MockIBiz) Users() user.UserBiz

Users mocks base method.

type MockIBizMockRecorder

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

MockIBizMockRecorder is the mock recorder for MockIBiz.

func (*MockIBizMockRecorder) Auths

func (mr *MockIBizMockRecorder) Auths() *gomock.Call

Auths indicates an expected call of Auths.

func (*MockIBizMockRecorder) Secrets

func (mr *MockIBizMockRecorder) Secrets() *gomock.Call

Secrets indicates an expected call of Secrets.

func (*MockIBizMockRecorder) Users

func (mr *MockIBizMockRecorder) Users() *gomock.Call

Users indicates an expected call of Users.

Directories

Path Synopsis
Package auth is a generated GoMock package.
Package auth is a generated GoMock package.
Package secret is a generated GoMock package.
Package secret is a generated GoMock package.
Package user is a generated GoMock package.
Package user is a generated GoMock package.

Jump to

Keyboard shortcuts

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