baseiface

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock_baseiface is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IBinding

type IBinding interface {
	//绑定成员注入NEW方法
	Bind()
	FindBinding(key string) LoadBean
}

type IGoLogger

type IGoLogger interface {
	Info(v ...interface{})
	Debug(v ...interface{})
	Warn(v ...interface{})
	Error(v ...interface{})
	Stat(v ...interface{})
}

type ISingleton

type ISingleton interface {
	Single() bool
	IfAutowire() bool
	Autowire()
	ContainsStru(childStru any) bool
	ParseTags(tagkey string) map[string]string
	InitProxy(some any)
}

NewBean

type IbaseConfig

type IbaseConfig interface {
	InjectConfigItem(some any)
}

type IbaseEnc

type IbaseEnc[T any] interface {
	ToEnc() T
	ToEncString() string
}

type IbaseModel

type IbaseModel interface {
	BaseInt2Time()
	BaseTime2Int()
	IbizModel
}

type IbaseProxy

type IbaseProxy interface {
	ISingleton
	IBinding
	IpoolObj
	String() string

	ToString() string
	Log()
	Clone() any

	FromJson(body []byte) interface{}
	ToJson() string
	ToJsonBytes() []byte
	ValueOf(another interface{})
	InitProxy(some any)
	Icheck
}

type IbizModel

type IbizModel interface {
	HandleCheck() error
	HandleRequest() error
	HandleResult() error
}

type IcacheKey

type IcacheKey interface {
	CacheKey() string
}

type Icheck

type Icheck interface {
	Check() error
}

type IpoolObj

type IpoolObj interface {
	Init()
	Shutdown()
}

type LoadBean

type LoadBean func() ISingleton

创建bean的函数

type LoadBeanGeneral

type LoadBeanGeneral[T any] func() ISingleton

type MockIcheck

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

MockIcheck is a mock of Icheck interface.

func NewMockIcheck

func NewMockIcheck(ctrl *gomock.Controller) *MockIcheck

NewMockIcheck creates a new mock instance.

func (*MockIcheck) Check

func (m *MockIcheck) Check() error

Check mocks base method.

func (*MockIcheck) EXPECT

func (m *MockIcheck) EXPECT() *MockIcheckMockRecorder

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

type MockIcheckMockRecorder

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

MockIcheckMockRecorder is the mock recorder for MockIcheck.

func (*MockIcheckMockRecorder) Check

func (mr *MockIcheckMockRecorder) Check() *gomock.Call

Check indicates an expected call of Check.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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