mock_adapter

package
v0.1.132 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package mock_adapter is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIDb

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

MockIDb is a mock of IDb interface.

func NewMockIDb

func NewMockIDb(ctrl *gomock.Controller) *MockIDb

NewMockIDb creates a new mock instance.

func (*MockIDb) Begin

func (m *MockIDb) Begin(opts ...*sql.TxOptions) adapter.ITx

Begin mocks base method.

func (*MockIDb) BeginContext

func (m *MockIDb) BeginContext(ctx context.Context, opts *sql.TxOptions) adapter.ITx

BeginContext mocks base method.

func (*MockIDb) EXPECT

func (m *MockIDb) EXPECT() *MockIDbMockRecorder

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

func (*MockIDb) Exec

func (m *MockIDb) Exec(query string, args ...interface{}) sql.Result

Exec mocks base method.

func (*MockIDb) ExecContext

func (m *MockIDb) ExecContext(ctx context.Context, query string, args ...interface{}) sql.Result

ExecContext mocks base method.

func (*MockIDb) GetDb

func (m *MockIDb) GetDb(master bool) *sql.DB

GetDb mocks base method.

func (*MockIDb) PrepareContext

func (m *MockIDb) PrepareContext(ctx context.Context, query string) adapter.IStmt

PrepareContext mocks base method.

func (*MockIDb) PrepareSql added in v0.1.109

func (m *MockIDb) PrepareSql(query string) adapter.IStmt

PrepareSql mocks base method.

func (*MockIDb) Query

func (m *MockIDb) Query(query string, args ...interface{}) *sql.Rows

Query mocks base method.

func (*MockIDb) QueryContext

func (m *MockIDb) QueryContext(ctx context.Context, query string, args ...interface{}) *sql.Rows

QueryContext mocks base method.

func (*MockIDb) QueryOne

func (m *MockIDb) QueryOne(query string, args ...interface{}) adapter.IRow

QueryOne mocks base method.

func (*MockIDb) QueryOneContext

func (m *MockIDb) QueryOneContext(ctx context.Context, query string, args ...interface{}) adapter.IRow

QueryOneContext mocks base method.

func (*MockIDb) SetMaster

func (m *MockIDb) SetMaster(v bool)

SetMaster mocks base method.

type MockIDbMockRecorder

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

MockIDbMockRecorder is the mock recorder for MockIDb.

func (*MockIDbMockRecorder) Begin

func (mr *MockIDbMockRecorder) Begin(opts ...interface{}) *gomock.Call

Begin indicates an expected call of Begin.

func (*MockIDbMockRecorder) BeginContext

func (mr *MockIDbMockRecorder) BeginContext(ctx, opts interface{}) *gomock.Call

BeginContext indicates an expected call of BeginContext.

func (*MockIDbMockRecorder) Exec

func (mr *MockIDbMockRecorder) Exec(query interface{}, args ...interface{}) *gomock.Call

Exec indicates an expected call of Exec.

func (*MockIDbMockRecorder) ExecContext

func (mr *MockIDbMockRecorder) ExecContext(ctx, query interface{}, args ...interface{}) *gomock.Call

ExecContext indicates an expected call of ExecContext.

func (*MockIDbMockRecorder) GetDb

func (mr *MockIDbMockRecorder) GetDb(master interface{}) *gomock.Call

GetDb indicates an expected call of GetDb.

func (*MockIDbMockRecorder) PrepareContext

func (mr *MockIDbMockRecorder) PrepareContext(ctx, query interface{}) *gomock.Call

PrepareContext indicates an expected call of PrepareContext.

func (*MockIDbMockRecorder) PrepareSql added in v0.1.109

func (mr *MockIDbMockRecorder) PrepareSql(query interface{}) *gomock.Call

PrepareSql indicates an expected call of PrepareSql.

func (*MockIDbMockRecorder) Query

func (mr *MockIDbMockRecorder) Query(query interface{}, args ...interface{}) *gomock.Call

Query indicates an expected call of Query.

func (*MockIDbMockRecorder) QueryContext

func (mr *MockIDbMockRecorder) QueryContext(ctx, query interface{}, args ...interface{}) *gomock.Call

QueryContext indicates an expected call of QueryContext.

func (*MockIDbMockRecorder) QueryOne

func (mr *MockIDbMockRecorder) QueryOne(query interface{}, args ...interface{}) *gomock.Call

QueryOne indicates an expected call of QueryOne.

func (*MockIDbMockRecorder) QueryOneContext

func (mr *MockIDbMockRecorder) QueryOneContext(ctx, query interface{}, args ...interface{}) *gomock.Call

QueryOneContext indicates an expected call of QueryOneContext.

func (*MockIDbMockRecorder) SetMaster

func (mr *MockIDbMockRecorder) SetMaster(v interface{}) *gomock.Call

SetMaster indicates an expected call of SetMaster.

type MockIHttp

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

MockIHttp is a mock of IHttp interface.

func NewMockIHttp

func NewMockIHttp(ctrl *gomock.Controller) *MockIHttp

NewMockIHttp creates a new mock instance.

func (*MockIHttp) Do

func (m *MockIHttp) Do(req *http.Request, option ...*phttp.Option) *http.Response

Do mocks base method.

func (*MockIHttp) DoMulti

func (m *MockIHttp) DoMulti(requests []*http.Request, option ...*phttp.Option) []*http.Response

DoMulti mocks base method.

func (*MockIHttp) EXPECT

func (m *MockIHttp) EXPECT() *MockIHttpMockRecorder

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

func (*MockIHttp) Get

func (m *MockIHttp) Get(addr string, data interface{}, option ...*phttp.Option) *http.Response

Get mocks base method.

func (*MockIHttp) Post

func (m *MockIHttp) Post(addr string, data interface{}, option ...*phttp.Option) *http.Response

Post mocks base method.

func (*MockIHttp) SetPanicRecover

func (m *MockIHttp) SetPanicRecover(v bool)

SetPanicRecover mocks base method.

type MockIHttpMockRecorder

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

MockIHttpMockRecorder is the mock recorder for MockIHttp.

func (*MockIHttpMockRecorder) Do

func (mr *MockIHttpMockRecorder) Do(req interface{}, option ...interface{}) *gomock.Call

Do indicates an expected call of Do.

func (*MockIHttpMockRecorder) DoMulti

func (mr *MockIHttpMockRecorder) DoMulti(requests interface{}, option ...interface{}) *gomock.Call

DoMulti indicates an expected call of DoMulti.

func (*MockIHttpMockRecorder) Get

func (mr *MockIHttpMockRecorder) Get(addr, data interface{}, option ...interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockIHttpMockRecorder) Post

func (mr *MockIHttpMockRecorder) Post(addr, data interface{}, option ...interface{}) *gomock.Call

Post indicates an expected call of Post.

func (*MockIHttpMockRecorder) SetPanicRecover

func (mr *MockIHttpMockRecorder) SetPanicRecover(v interface{}) *gomock.Call

SetPanicRecover indicates an expected call of SetPanicRecover.

type MockIMaxMind

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

MockIMaxMind is a mock of IMaxMind interface.

func NewMockIMaxMind

func NewMockIMaxMind(ctrl *gomock.Controller) *MockIMaxMind

NewMockIMaxMind creates a new mock instance.

func (*MockIMaxMind) EXPECT

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

func (*MockIMaxMind) GeoByIp

func (m *MockIMaxMind) GeoByIp(ip string, args ...interface{}) *maxmind.Geo

GeoByIp mocks base method.

type MockIMaxMindMockRecorder

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

MockIMaxMindMockRecorder is the mock recorder for MockIMaxMind.

func (*MockIMaxMindMockRecorder) GeoByIp

func (mr *MockIMaxMindMockRecorder) GeoByIp(ip interface{}, args ...interface{}) *gomock.Call

GeoByIp indicates an expected call of GeoByIp.

type MockIMemCache

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

MockIMemCache is a mock of IMemCache interface.

func NewMockIMemCache

func NewMockIMemCache(ctrl *gomock.Controller) *MockIMemCache

NewMockIMemCache creates a new mock instance.

func (*MockIMemCache) Add

func (m *MockIMemCache) Add(key string, value interface{}, expire ...time.Duration) bool

Add mocks base method.

func (*MockIMemCache) Del

func (m *MockIMemCache) Del(key string) bool

Del mocks base method.

func (*MockIMemCache) EXPECT

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

func (*MockIMemCache) Exists

func (m *MockIMemCache) Exists(key string) bool

Exists mocks base method.

func (*MockIMemCache) Get

func (m *MockIMemCache) Get(key string) *value.Value

Get mocks base method.

func (*MockIMemCache) Incr

func (m *MockIMemCache) Incr(key string, delta int) int

Incr mocks base method.

func (*MockIMemCache) MAdd

func (m *MockIMemCache) MAdd(items map[string]interface{}, expire ...time.Duration) bool

MAdd mocks base method.

func (*MockIMemCache) MDel

func (m *MockIMemCache) MDel(keys []string) bool

MDel mocks base method.

func (*MockIMemCache) MGet

func (m *MockIMemCache) MGet(keys []string) map[string]*value.Value

MGet mocks base method.

func (*MockIMemCache) MSet

func (m *MockIMemCache) MSet(items map[string]interface{}, expire ...time.Duration) bool

MSet mocks base method.

func (*MockIMemCache) MultiRetrieve

func (m *MockIMemCache) MultiRetrieve(cmd string, keys []string) []*memcache.Item

MultiRetrieve mocks base method.

func (*MockIMemCache) MultiStore

func (m *MockIMemCache) MultiStore(cmd string, items []*memcache.Item, expire ...time.Duration) bool

MultiStore mocks base method.

func (*MockIMemCache) Retrieve

func (m *MockIMemCache) Retrieve(cmd, key string) *memcache.Item

Retrieve mocks base method.

func (*MockIMemCache) Set

func (m *MockIMemCache) Set(key string, value interface{}, expire ...time.Duration) bool

Set mocks base method.

func (*MockIMemCache) SetPanicRecover

func (m *MockIMemCache) SetPanicRecover(v bool)

SetPanicRecover mocks base method.

func (*MockIMemCache) Store

func (m *MockIMemCache) Store(cmd string, item *memcache.Item, expire ...time.Duration) bool

Store mocks base method.

type MockIMemCacheMockRecorder

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

MockIMemCacheMockRecorder is the mock recorder for MockIMemCache.

func (*MockIMemCacheMockRecorder) Add

func (mr *MockIMemCacheMockRecorder) Add(key, value interface{}, expire ...interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockIMemCacheMockRecorder) Del

func (mr *MockIMemCacheMockRecorder) Del(key interface{}) *gomock.Call

Del indicates an expected call of Del.

func (*MockIMemCacheMockRecorder) Exists

func (mr *MockIMemCacheMockRecorder) Exists(key interface{}) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockIMemCacheMockRecorder) Get

func (mr *MockIMemCacheMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockIMemCacheMockRecorder) Incr

func (mr *MockIMemCacheMockRecorder) Incr(key, delta interface{}) *gomock.Call

Incr indicates an expected call of Incr.

func (*MockIMemCacheMockRecorder) MAdd

func (mr *MockIMemCacheMockRecorder) MAdd(items interface{}, expire ...interface{}) *gomock.Call

MAdd indicates an expected call of MAdd.

func (*MockIMemCacheMockRecorder) MDel

func (mr *MockIMemCacheMockRecorder) MDel(keys interface{}) *gomock.Call

MDel indicates an expected call of MDel.

func (*MockIMemCacheMockRecorder) MGet

func (mr *MockIMemCacheMockRecorder) MGet(keys interface{}) *gomock.Call

MGet indicates an expected call of MGet.

func (*MockIMemCacheMockRecorder) MSet

func (mr *MockIMemCacheMockRecorder) MSet(items interface{}, expire ...interface{}) *gomock.Call

MSet indicates an expected call of MSet.

func (*MockIMemCacheMockRecorder) MultiRetrieve

func (mr *MockIMemCacheMockRecorder) MultiRetrieve(cmd, keys interface{}) *gomock.Call

MultiRetrieve indicates an expected call of MultiRetrieve.

func (*MockIMemCacheMockRecorder) MultiStore

func (mr *MockIMemCacheMockRecorder) MultiStore(cmd, items interface{}, expire ...interface{}) *gomock.Call

MultiStore indicates an expected call of MultiStore.

func (*MockIMemCacheMockRecorder) Retrieve

func (mr *MockIMemCacheMockRecorder) Retrieve(cmd, key interface{}) *gomock.Call

Retrieve indicates an expected call of Retrieve.

func (*MockIMemCacheMockRecorder) Set

func (mr *MockIMemCacheMockRecorder) Set(key, value interface{}, expire ...interface{}) *gomock.Call

Set indicates an expected call of Set.

func (*MockIMemCacheMockRecorder) SetPanicRecover

func (mr *MockIMemCacheMockRecorder) SetPanicRecover(v interface{}) *gomock.Call

SetPanicRecover indicates an expected call of SetPanicRecover.

func (*MockIMemCacheMockRecorder) Store

func (mr *MockIMemCacheMockRecorder) Store(cmd, item interface{}, expire ...interface{}) *gomock.Call

Store indicates an expected call of Store.

type MockIMemory

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

MockIMemory is a mock of IMemory interface.

func NewMockIMemory

func NewMockIMemory(ctrl *gomock.Controller) *MockIMemory

NewMockIMemory creates a new mock instance.

func (*MockIMemory) Add

func (m *MockIMemory) Add(key string, value interface{}, expire ...time.Duration) bool

Add mocks base method.

func (*MockIMemory) Del

func (m *MockIMemory) Del(key string) bool

Del mocks base method.

func (*MockIMemory) EXPECT

func (m *MockIMemory) EXPECT() *MockIMemoryMockRecorder

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

func (*MockIMemory) Exists

func (m *MockIMemory) Exists(key string) bool

Exists mocks base method.

func (*MockIMemory) Get

func (m *MockIMemory) Get(key string) *value.Value

Get mocks base method.

func (*MockIMemory) Incr

func (m *MockIMemory) Incr(key string, delta int) int

Incr mocks base method.

func (*MockIMemory) MAdd

func (m *MockIMemory) MAdd(items map[string]interface{}, expire ...time.Duration) bool

MAdd mocks base method.

func (*MockIMemory) MDel

func (m *MockIMemory) MDel(keys []string) bool

MDel mocks base method.

func (*MockIMemory) MGet

func (m *MockIMemory) MGet(keys []string) map[string]*value.Value

MGet mocks base method.

func (*MockIMemory) MSet

func (m *MockIMemory) MSet(items map[string]interface{}, expire ...time.Duration) bool

MSet mocks base method.

func (*MockIMemory) Set

func (m *MockIMemory) Set(key string, value interface{}, expire ...time.Duration) bool

Set mocks base method.

func (*MockIMemory) SetPanicRecover

func (m *MockIMemory) SetPanicRecover(v bool)

SetPanicRecover mocks base method.

type MockIMemoryMockRecorder

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

MockIMemoryMockRecorder is the mock recorder for MockIMemory.

func (*MockIMemoryMockRecorder) Add

func (mr *MockIMemoryMockRecorder) Add(key, value interface{}, expire ...interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockIMemoryMockRecorder) Del

func (mr *MockIMemoryMockRecorder) Del(key interface{}) *gomock.Call

Del indicates an expected call of Del.

func (*MockIMemoryMockRecorder) Exists

func (mr *MockIMemoryMockRecorder) Exists(key interface{}) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockIMemoryMockRecorder) Get

func (mr *MockIMemoryMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockIMemoryMockRecorder) Incr

func (mr *MockIMemoryMockRecorder) Incr(key, delta interface{}) *gomock.Call

Incr indicates an expected call of Incr.

func (*MockIMemoryMockRecorder) MAdd

func (mr *MockIMemoryMockRecorder) MAdd(items interface{}, expire ...interface{}) *gomock.Call

MAdd indicates an expected call of MAdd.

func (*MockIMemoryMockRecorder) MDel

func (mr *MockIMemoryMockRecorder) MDel(keys interface{}) *gomock.Call

MDel indicates an expected call of MDel.

func (*MockIMemoryMockRecorder) MGet

func (mr *MockIMemoryMockRecorder) MGet(keys interface{}) *gomock.Call

MGet indicates an expected call of MGet.

func (*MockIMemoryMockRecorder) MSet

func (mr *MockIMemoryMockRecorder) MSet(items interface{}, expire ...interface{}) *gomock.Call

MSet indicates an expected call of MSet.

func (*MockIMemoryMockRecorder) Set

func (mr *MockIMemoryMockRecorder) Set(key, value interface{}, expire ...interface{}) *gomock.Call

Set indicates an expected call of Set.

func (*MockIMemoryMockRecorder) SetPanicRecover

func (mr *MockIMemoryMockRecorder) SetPanicRecover(v interface{}) *gomock.Call

SetPanicRecover indicates an expected call of SetPanicRecover.

type MockIMongo

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

MockIMongo is a mock of IMongo interface.

func NewMockIMongo

func NewMockIMongo(ctrl *gomock.Controller) *MockIMongo

NewMockIMongo creates a new mock instance.

func (*MockIMongo) Count

func (m *MockIMongo) Count(query interface{}, options ...bson.M) (int, error)

Count mocks base method.

func (*MockIMongo) DeleteAll

func (m *MockIMongo) DeleteAll(query interface{}) error

DeleteAll mocks base method.

func (*MockIMongo) DeleteOne

func (m *MockIMongo) DeleteOne(query interface{}) error

DeleteOne mocks base method.

func (*MockIMongo) EXPECT

func (m *MockIMongo) EXPECT() *MockIMongoMockRecorder

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

func (*MockIMongo) FindAll

func (m *MockIMongo) FindAll(query, result interface{}, options ...bson.M) error

FindAll mocks base method.

func (*MockIMongo) FindAndModify

func (m *MockIMongo) FindAndModify(query interface{}, change mgo.Change, result interface{}, options ...bson.M) error

FindAndModify mocks base method.

func (*MockIMongo) FindDistinct

func (m *MockIMongo) FindDistinct(query interface{}, key string, result interface{}, options ...bson.M) error

FindDistinct mocks base method.

func (*MockIMongo) FindOne

func (m *MockIMongo) FindOne(query, result interface{}, options ...bson.M) error

FindOne mocks base method.

func (*MockIMongo) InsertAll

func (m *MockIMongo) InsertAll(docs []interface{}) error

InsertAll mocks base method.

func (*MockIMongo) InsertOne

func (m *MockIMongo) InsertOne(doc interface{}) error

InsertOne mocks base method.

func (*MockIMongo) MapReduce

func (m *MockIMongo) MapReduce(query interface{}, job *mgo.MapReduce, result interface{}, options ...bson.M) error

MapReduce mocks base method.

func (*MockIMongo) PipeAll

func (m *MockIMongo) PipeAll(pipeline, result interface{}) error

PipeAll mocks base method.

func (*MockIMongo) PipeOne

func (m *MockIMongo) PipeOne(pipeline, result interface{}) error

PipeOne mocks base method.

func (*MockIMongo) UpdateAll

func (m *MockIMongo) UpdateAll(query, update interface{}) error

UpdateAll mocks base method.

func (*MockIMongo) UpdateOne

func (m *MockIMongo) UpdateOne(query, update interface{}) error

UpdateOne mocks base method.

func (*MockIMongo) UpdateOrInsert

func (m *MockIMongo) UpdateOrInsert(query, update interface{}) error

UpdateOrInsert mocks base method.

type MockIMongoMockRecorder

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

MockIMongoMockRecorder is the mock recorder for MockIMongo.

func (*MockIMongoMockRecorder) Count

func (mr *MockIMongoMockRecorder) Count(query interface{}, options ...interface{}) *gomock.Call

Count indicates an expected call of Count.

func (*MockIMongoMockRecorder) DeleteAll

func (mr *MockIMongoMockRecorder) DeleteAll(query interface{}) *gomock.Call

DeleteAll indicates an expected call of DeleteAll.

func (*MockIMongoMockRecorder) DeleteOne

func (mr *MockIMongoMockRecorder) DeleteOne(query interface{}) *gomock.Call

DeleteOne indicates an expected call of DeleteOne.

func (*MockIMongoMockRecorder) FindAll

func (mr *MockIMongoMockRecorder) FindAll(query, result interface{}, options ...interface{}) *gomock.Call

FindAll indicates an expected call of FindAll.

func (*MockIMongoMockRecorder) FindAndModify

func (mr *MockIMongoMockRecorder) FindAndModify(query, change, result interface{}, options ...interface{}) *gomock.Call

FindAndModify indicates an expected call of FindAndModify.

func (*MockIMongoMockRecorder) FindDistinct

func (mr *MockIMongoMockRecorder) FindDistinct(query, key, result interface{}, options ...interface{}) *gomock.Call

FindDistinct indicates an expected call of FindDistinct.

func (*MockIMongoMockRecorder) FindOne

func (mr *MockIMongoMockRecorder) FindOne(query, result interface{}, options ...interface{}) *gomock.Call

FindOne indicates an expected call of FindOne.

func (*MockIMongoMockRecorder) InsertAll

func (mr *MockIMongoMockRecorder) InsertAll(docs interface{}) *gomock.Call

InsertAll indicates an expected call of InsertAll.

func (*MockIMongoMockRecorder) InsertOne

func (mr *MockIMongoMockRecorder) InsertOne(doc interface{}) *gomock.Call

InsertOne indicates an expected call of InsertOne.

func (*MockIMongoMockRecorder) MapReduce

func (mr *MockIMongoMockRecorder) MapReduce(query, job, result interface{}, options ...interface{}) *gomock.Call

MapReduce indicates an expected call of MapReduce.

func (*MockIMongoMockRecorder) PipeAll

func (mr *MockIMongoMockRecorder) PipeAll(pipeline, result interface{}) *gomock.Call

PipeAll indicates an expected call of PipeAll.

func (*MockIMongoMockRecorder) PipeOne

func (mr *MockIMongoMockRecorder) PipeOne(pipeline, result interface{}) *gomock.Call

PipeOne indicates an expected call of PipeOne.

func (*MockIMongoMockRecorder) UpdateAll

func (mr *MockIMongoMockRecorder) UpdateAll(query, update interface{}) *gomock.Call

UpdateAll indicates an expected call of UpdateAll.

func (*MockIMongoMockRecorder) UpdateOne

func (mr *MockIMongoMockRecorder) UpdateOne(query, update interface{}) *gomock.Call

UpdateOne indicates an expected call of UpdateOne.

func (*MockIMongoMockRecorder) UpdateOrInsert

func (mr *MockIMongoMockRecorder) UpdateOrInsert(query, update interface{}) *gomock.Call

UpdateOrInsert indicates an expected call of UpdateOrInsert.

type MockIOrm added in v0.1.132

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

MockIOrm is a mock of IOrm interface.

func NewMockIOrm added in v0.1.132

func NewMockIOrm(ctrl *gomock.Controller) *MockIOrm

NewMockIOrm creates a new mock instance.

func (*MockIOrm) AddError added in v0.1.132

func (m *MockIOrm) AddError(err error) error

AddError mocks base method.

func (*MockIOrm) Assign added in v0.1.132

func (m *MockIOrm) Assign(attrs ...interface{}) adapter.IOrm

Assign mocks base method.

func (*MockIOrm) Association added in v0.1.132

func (m *MockIOrm) Association(column string) *gorm.Association

Association mocks base method.

func (*MockIOrm) Attrs added in v0.1.132

func (m *MockIOrm) Attrs(attrs ...interface{}) adapter.IOrm

Attrs mocks base method.

func (*MockIOrm) AutoMigrate added in v0.1.132

func (m *MockIOrm) AutoMigrate(dst ...interface{}) error

AutoMigrate mocks base method.

func (*MockIOrm) Begin added in v0.1.132

func (m *MockIOrm) Begin(opts ...*sql.TxOptions) adapter.IOrm

Begin mocks base method.

func (*MockIOrm) Clauses added in v0.1.132

func (m *MockIOrm) Clauses(conds ...clause.Expression) adapter.IOrm

Clauses mocks base method.

func (*MockIOrm) Commit added in v0.1.132

func (m *MockIOrm) Commit() adapter.IOrm

Commit mocks base method.

func (*MockIOrm) Context added in v0.1.132

func (m *MockIOrm) Context() iface.IContext

Context mocks base method.

func (*MockIOrm) Count added in v0.1.132

func (m *MockIOrm) Count(count *int64) adapter.IOrm

Count mocks base method.

func (*MockIOrm) Create added in v0.1.132

func (m *MockIOrm) Create(value interface{}) adapter.IOrm

Create mocks base method.

func (*MockIOrm) CreateInBatches added in v0.1.132

func (m *MockIOrm) CreateInBatches(value interface{}, batchSize int) adapter.IOrm

CreateInBatches mocks base method.

func (*MockIOrm) Debug added in v0.1.132

func (m *MockIOrm) Debug() adapter.IOrm

Debug mocks base method.

func (*MockIOrm) Delete added in v0.1.132

func (m *MockIOrm) Delete(value interface{}, conds ...interface{}) adapter.IOrm

Delete mocks base method.

func (*MockIOrm) Distinct added in v0.1.132

func (m *MockIOrm) Distinct(args ...interface{}) adapter.IOrm

Distinct mocks base method.

func (*MockIOrm) EXPECT added in v0.1.132

func (m *MockIOrm) EXPECT() *MockIOrmMockRecorder

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

func (*MockIOrm) Exec added in v0.1.132

func (m *MockIOrm) Exec(sql string, values ...interface{}) adapter.IOrm

Exec mocks base method.

func (*MockIOrm) Find added in v0.1.132

func (m *MockIOrm) Find(dest interface{}, conds ...interface{}) adapter.IOrm

Find mocks base method.

func (*MockIOrm) FindInBatches added in v0.1.132

func (m *MockIOrm) FindInBatches(dest interface{}, batchSize int, fc func(*gorm.DB, int) error) adapter.IOrm

FindInBatches mocks base method.

func (*MockIOrm) First added in v0.1.132

func (m *MockIOrm) First(dest interface{}, conds ...interface{}) adapter.IOrm

First mocks base method.

func (*MockIOrm) FirstOrCreate added in v0.1.132

func (m *MockIOrm) FirstOrCreate(dest interface{}, conds ...interface{}) adapter.IOrm

FirstOrCreate mocks base method.

func (*MockIOrm) FirstOrInit added in v0.1.132

func (m *MockIOrm) FirstOrInit(dest interface{}, conds ...interface{}) adapter.IOrm

FirstOrInit mocks base method.

func (*MockIOrm) Get added in v0.1.132

func (m *MockIOrm) Get(key string) (interface{}, bool)

Get mocks base method.

func (*MockIOrm) GetConfig added in v0.1.132

func (m *MockIOrm) GetConfig() *gorm.Config

GetConfig mocks base method.

func (*MockIOrm) GetError added in v0.1.132

func (m *MockIOrm) GetError() error

GetError mocks base method.

func (*MockIOrm) GetObj added in v0.1.132

func (m *MockIOrm) GetObj(obj iface.IObject) iface.IObject

GetObj mocks base method.

func (*MockIOrm) GetObjBox added in v0.1.132

func (m *MockIOrm) GetObjBox(className string, params ...interface{}) iface.IObject

GetObjBox mocks base method.

func (*MockIOrm) GetObjBoxCtx added in v0.1.132

func (m *MockIOrm) GetObjBoxCtx(ctx iface.IContext, className string, params ...interface{}) iface.IObject

GetObjBoxCtx mocks base method.

func (*MockIOrm) GetObjCtx added in v0.1.132

func (m *MockIOrm) GetObjCtx(ctx iface.IContext, obj iface.IObject) iface.IObject

GetObjCtx mocks base method.

func (*MockIOrm) GetObjPool added in v0.1.132

func (m *MockIOrm) GetObjPool(className string, funcName iface.IObjPoolFunc, params ...interface{}) iface.IObject

GetObjPool mocks base method.

func (*MockIOrm) GetObjPoolCtx added in v0.1.132

func (m *MockIOrm) GetObjPoolCtx(ctr iface.IContext, className string, funcName iface.IObjPoolFunc, params ...interface{}) iface.IObject

GetObjPoolCtx mocks base method.

func (*MockIOrm) GetObjSingle added in v0.1.132

func (m *MockIOrm) GetObjSingle(name string, funcName iface.IObjSingleFunc, params ...interface{}) iface.IObject

GetObjSingle mocks base method.

func (*MockIOrm) GetObjSingleCtx added in v0.1.132

func (m *MockIOrm) GetObjSingleCtx(ctx iface.IContext, name string, funcName iface.IObjSingleFunc, params ...interface{}) iface.IObject

GetObjSingleCtx mocks base method.

func (*MockIOrm) GetRowsAffected added in v0.1.132

func (m *MockIOrm) GetRowsAffected() int64

GetRowsAffected mocks base method.

func (*MockIOrm) GetStatement added in v0.1.132

func (m *MockIOrm) GetStatement() *gorm.Statement

GetStatement mocks base method.

func (*MockIOrm) Group added in v0.1.132

func (m *MockIOrm) Group(name string) adapter.IOrm

Group mocks base method.

func (*MockIOrm) Having added in v0.1.132

func (m *MockIOrm) Having(query interface{}, args ...interface{}) adapter.IOrm

Having mocks base method.

func (*MockIOrm) InstanceGet added in v0.1.132

func (m *MockIOrm) InstanceGet(key string) (interface{}, bool)

InstanceGet mocks base method.

func (*MockIOrm) InstanceSet added in v0.1.132

func (m *MockIOrm) InstanceSet(key string, value interface{}) adapter.IOrm

InstanceSet mocks base method.

func (*MockIOrm) Joins added in v0.1.132

func (m *MockIOrm) Joins(query string, args ...interface{}) adapter.IOrm

Joins mocks base method.

func (*MockIOrm) Last added in v0.1.132

func (m *MockIOrm) Last(dest string, conds ...interface{}) adapter.IOrm

Last mocks base method.

func (*MockIOrm) Limit added in v0.1.132

func (m *MockIOrm) Limit(limit int) adapter.IOrm

Limit mocks base method.

func (*MockIOrm) Model added in v0.1.132

func (m *MockIOrm) Model(value interface{}) adapter.IOrm

Model mocks base method.

func (*MockIOrm) Not added in v0.1.132

func (m *MockIOrm) Not(query interface{}, args ...interface{}) adapter.IOrm

Not mocks base method.

func (*MockIOrm) Offset added in v0.1.132

func (m *MockIOrm) Offset(offset int) adapter.IOrm

Offset mocks base method.

func (*MockIOrm) Omit added in v0.1.132

func (m *MockIOrm) Omit(columns ...string) adapter.IOrm

Omit mocks base method.

func (*MockIOrm) Or added in v0.1.132

func (m *MockIOrm) Or(query interface{}, args ...interface{}) adapter.IOrm

Or mocks base method.

func (*MockIOrm) Order added in v0.1.132

func (m *MockIOrm) Order(value interface{}) adapter.IOrm

Order mocks base method.

func (*MockIOrm) Pluck added in v0.1.132

func (m *MockIOrm) Pluck(column string, dest interface{}) adapter.IOrm

Pluck mocks base method.

func (*MockIOrm) Preload added in v0.1.132

func (m *MockIOrm) Preload(query string, args ...interface{}) adapter.IOrm

Preload mocks base method.

func (*MockIOrm) Raw added in v0.1.132

func (m *MockIOrm) Raw(sql string, values ...interface{}) adapter.IOrm

Raw mocks base method.

func (*MockIOrm) Rollback added in v0.1.132

func (m *MockIOrm) Rollback() adapter.IOrm

Rollback mocks base method.

func (*MockIOrm) RollbackTo added in v0.1.132

func (m *MockIOrm) RollbackTo(name string) adapter.IOrm

RollbackTo mocks base method.

func (*MockIOrm) Row added in v0.1.132

func (m *MockIOrm) Row() *sql.Row

Row mocks base method.

func (*MockIOrm) Rows added in v0.1.132

func (m *MockIOrm) Rows() (*sql.Rows, error)

Rows mocks base method.

func (*MockIOrm) Save added in v0.1.132

func (m *MockIOrm) Save(value interface{}) adapter.IOrm

Save mocks base method.

func (*MockIOrm) SavePoint added in v0.1.132

func (m *MockIOrm) SavePoint(name string) adapter.IOrm

SavePoint mocks base method.

func (*MockIOrm) Scan added in v0.1.132

func (m *MockIOrm) Scan(dest interface{}) adapter.IOrm

Scan mocks base method.

func (*MockIOrm) ScanRows added in v0.1.132

func (m *MockIOrm) ScanRows(rows *sql.Rows, dest interface{}) error

ScanRows mocks base method.

func (*MockIOrm) Scopes added in v0.1.132

func (m *MockIOrm) Scopes(funcs ...func(*gorm.DB) *gorm.DB) adapter.IOrm

Scopes mocks base method.

func (*MockIOrm) Select added in v0.1.132

func (m *MockIOrm) Select(query interface{}, args ...interface{}) adapter.IOrm

Select mocks base method.

func (*MockIOrm) Session added in v0.1.132

func (m *MockIOrm) Session(config *gorm.Session) adapter.IOrm

Session mocks base method.

func (*MockIOrm) Set added in v0.1.132

func (m *MockIOrm) Set(key string, value interface{}) adapter.IOrm

Set mocks base method.

func (*MockIOrm) SetContext added in v0.1.132

func (m *MockIOrm) SetContext(ctx iface.IContext)

SetContext mocks base method.

func (*MockIOrm) SetupJoinTable added in v0.1.132

func (m *MockIOrm) SetupJoinTable(model interface{}, field string, joinTable interface{}) error

SetupJoinTable mocks base method.

func (*MockIOrm) SqlDB added in v0.1.132

func (m *MockIOrm) SqlDB() (*sql.DB, error)

SqlDB mocks base method.

func (*MockIOrm) Table added in v0.1.132

func (m *MockIOrm) Table(name string, args ...interface{}) adapter.IOrm

Table mocks base method.

func (*MockIOrm) Take added in v0.1.132

func (m *MockIOrm) Take(dest interface{}, conds ...interface{}) adapter.IOrm

Take mocks base method.

func (*MockIOrm) Transaction added in v0.1.132

func (m *MockIOrm) Transaction(fc func(*gorm.DB) error, opts ...*sql.TxOptions) error

Transaction mocks base method.

func (*MockIOrm) Unscoped added in v0.1.132

func (m *MockIOrm) Unscoped() adapter.IOrm

Unscoped mocks base method.

func (*MockIOrm) Update added in v0.1.132

func (m *MockIOrm) Update(column string, value interface{}) adapter.IOrm

Update mocks base method.

func (*MockIOrm) UpdateColumn added in v0.1.132

func (m *MockIOrm) UpdateColumn(column string, value interface{}) adapter.IOrm

UpdateColumn mocks base method.

func (*MockIOrm) UpdateColumns added in v0.1.132

func (m *MockIOrm) UpdateColumns(values interface{}) adapter.IOrm

UpdateColumns mocks base method.

func (*MockIOrm) Updates added in v0.1.132

func (m *MockIOrm) Updates(values interface{}) adapter.IOrm

Updates mocks base method.

func (*MockIOrm) Use added in v0.1.132

func (m *MockIOrm) Use(plugin gorm.Plugin) error

Use mocks base method.

func (*MockIOrm) Where added in v0.1.132

func (m *MockIOrm) Where(query interface{}, args ...interface{}) adapter.IOrm

Where mocks base method.

func (*MockIOrm) WithContext added in v0.1.132

func (m *MockIOrm) WithContext(ctx context.Context) adapter.IOrm

WithContext mocks base method.

type MockIOrmMockRecorder added in v0.1.132

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

MockIOrmMockRecorder is the mock recorder for MockIOrm.

func (*MockIOrmMockRecorder) AddError added in v0.1.132

func (mr *MockIOrmMockRecorder) AddError(err interface{}) *gomock.Call

AddError indicates an expected call of AddError.

func (*MockIOrmMockRecorder) Assign added in v0.1.132

func (mr *MockIOrmMockRecorder) Assign(attrs ...interface{}) *gomock.Call

Assign indicates an expected call of Assign.

func (*MockIOrmMockRecorder) Association added in v0.1.132

func (mr *MockIOrmMockRecorder) Association(column interface{}) *gomock.Call

Association indicates an expected call of Association.

func (*MockIOrmMockRecorder) Attrs added in v0.1.132

func (mr *MockIOrmMockRecorder) Attrs(attrs ...interface{}) *gomock.Call

Attrs indicates an expected call of Attrs.

func (*MockIOrmMockRecorder) AutoMigrate added in v0.1.132

func (mr *MockIOrmMockRecorder) AutoMigrate(dst ...interface{}) *gomock.Call

AutoMigrate indicates an expected call of AutoMigrate.

func (*MockIOrmMockRecorder) Begin added in v0.1.132

func (mr *MockIOrmMockRecorder) Begin(opts ...interface{}) *gomock.Call

Begin indicates an expected call of Begin.

func (*MockIOrmMockRecorder) Clauses added in v0.1.132

func (mr *MockIOrmMockRecorder) Clauses(conds ...interface{}) *gomock.Call

Clauses indicates an expected call of Clauses.

func (*MockIOrmMockRecorder) Commit added in v0.1.132

func (mr *MockIOrmMockRecorder) Commit() *gomock.Call

Commit indicates an expected call of Commit.

func (*MockIOrmMockRecorder) Context added in v0.1.132

func (mr *MockIOrmMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context.

func (*MockIOrmMockRecorder) Count added in v0.1.132

func (mr *MockIOrmMockRecorder) Count(count interface{}) *gomock.Call

Count indicates an expected call of Count.

func (*MockIOrmMockRecorder) Create added in v0.1.132

func (mr *MockIOrmMockRecorder) Create(value interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockIOrmMockRecorder) CreateInBatches added in v0.1.132

func (mr *MockIOrmMockRecorder) CreateInBatches(value, batchSize interface{}) *gomock.Call

CreateInBatches indicates an expected call of CreateInBatches.

func (*MockIOrmMockRecorder) Debug added in v0.1.132

func (mr *MockIOrmMockRecorder) Debug() *gomock.Call

Debug indicates an expected call of Debug.

func (*MockIOrmMockRecorder) Delete added in v0.1.132

func (mr *MockIOrmMockRecorder) Delete(value interface{}, conds ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockIOrmMockRecorder) Distinct added in v0.1.132

func (mr *MockIOrmMockRecorder) Distinct(args ...interface{}) *gomock.Call

Distinct indicates an expected call of Distinct.

func (*MockIOrmMockRecorder) Exec added in v0.1.132

func (mr *MockIOrmMockRecorder) Exec(sql interface{}, values ...interface{}) *gomock.Call

Exec indicates an expected call of Exec.

func (*MockIOrmMockRecorder) Find added in v0.1.132

func (mr *MockIOrmMockRecorder) Find(dest interface{}, conds ...interface{}) *gomock.Call

Find indicates an expected call of Find.

func (*MockIOrmMockRecorder) FindInBatches added in v0.1.132

func (mr *MockIOrmMockRecorder) FindInBatches(dest, batchSize, fc interface{}) *gomock.Call

FindInBatches indicates an expected call of FindInBatches.

func (*MockIOrmMockRecorder) First added in v0.1.132

func (mr *MockIOrmMockRecorder) First(dest interface{}, conds ...interface{}) *gomock.Call

First indicates an expected call of First.

func (*MockIOrmMockRecorder) FirstOrCreate added in v0.1.132

func (mr *MockIOrmMockRecorder) FirstOrCreate(dest interface{}, conds ...interface{}) *gomock.Call

FirstOrCreate indicates an expected call of FirstOrCreate.

func (*MockIOrmMockRecorder) FirstOrInit added in v0.1.132

func (mr *MockIOrmMockRecorder) FirstOrInit(dest interface{}, conds ...interface{}) *gomock.Call

FirstOrInit indicates an expected call of FirstOrInit.

func (*MockIOrmMockRecorder) Get added in v0.1.132

func (mr *MockIOrmMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockIOrmMockRecorder) GetConfig added in v0.1.132

func (mr *MockIOrmMockRecorder) GetConfig() *gomock.Call

GetConfig indicates an expected call of GetConfig.

func (*MockIOrmMockRecorder) GetError added in v0.1.132

func (mr *MockIOrmMockRecorder) GetError() *gomock.Call

GetError indicates an expected call of GetError.

func (*MockIOrmMockRecorder) GetObj added in v0.1.132

func (mr *MockIOrmMockRecorder) GetObj(obj interface{}) *gomock.Call

GetObj indicates an expected call of GetObj.

func (*MockIOrmMockRecorder) GetObjBox added in v0.1.132

func (mr *MockIOrmMockRecorder) GetObjBox(className interface{}, params ...interface{}) *gomock.Call

GetObjBox indicates an expected call of GetObjBox.

func (*MockIOrmMockRecorder) GetObjBoxCtx added in v0.1.132

func (mr *MockIOrmMockRecorder) GetObjBoxCtx(ctx, className interface{}, params ...interface{}) *gomock.Call

GetObjBoxCtx indicates an expected call of GetObjBoxCtx.

func (*MockIOrmMockRecorder) GetObjCtx added in v0.1.132

func (mr *MockIOrmMockRecorder) GetObjCtx(ctx, obj interface{}) *gomock.Call

GetObjCtx indicates an expected call of GetObjCtx.

func (*MockIOrmMockRecorder) GetObjPool added in v0.1.132

func (mr *MockIOrmMockRecorder) GetObjPool(className, funcName interface{}, params ...interface{}) *gomock.Call

GetObjPool indicates an expected call of GetObjPool.

func (*MockIOrmMockRecorder) GetObjPoolCtx added in v0.1.132

func (mr *MockIOrmMockRecorder) GetObjPoolCtx(ctr, className, funcName interface{}, params ...interface{}) *gomock.Call

GetObjPoolCtx indicates an expected call of GetObjPoolCtx.

func (*MockIOrmMockRecorder) GetObjSingle added in v0.1.132

func (mr *MockIOrmMockRecorder) GetObjSingle(name, funcName interface{}, params ...interface{}) *gomock.Call

GetObjSingle indicates an expected call of GetObjSingle.

func (*MockIOrmMockRecorder) GetObjSingleCtx added in v0.1.132

func (mr *MockIOrmMockRecorder) GetObjSingleCtx(ctx, name, funcName interface{}, params ...interface{}) *gomock.Call

GetObjSingleCtx indicates an expected call of GetObjSingleCtx.

func (*MockIOrmMockRecorder) GetRowsAffected added in v0.1.132

func (mr *MockIOrmMockRecorder) GetRowsAffected() *gomock.Call

GetRowsAffected indicates an expected call of GetRowsAffected.

func (*MockIOrmMockRecorder) GetStatement added in v0.1.132

func (mr *MockIOrmMockRecorder) GetStatement() *gomock.Call

GetStatement indicates an expected call of GetStatement.

func (*MockIOrmMockRecorder) Group added in v0.1.132

func (mr *MockIOrmMockRecorder) Group(name interface{}) *gomock.Call

Group indicates an expected call of Group.

func (*MockIOrmMockRecorder) Having added in v0.1.132

func (mr *MockIOrmMockRecorder) Having(query interface{}, args ...interface{}) *gomock.Call

Having indicates an expected call of Having.

func (*MockIOrmMockRecorder) InstanceGet added in v0.1.132

func (mr *MockIOrmMockRecorder) InstanceGet(key interface{}) *gomock.Call

InstanceGet indicates an expected call of InstanceGet.

func (*MockIOrmMockRecorder) InstanceSet added in v0.1.132

func (mr *MockIOrmMockRecorder) InstanceSet(key, value interface{}) *gomock.Call

InstanceSet indicates an expected call of InstanceSet.

func (*MockIOrmMockRecorder) Joins added in v0.1.132

func (mr *MockIOrmMockRecorder) Joins(query interface{}, args ...interface{}) *gomock.Call

Joins indicates an expected call of Joins.

func (*MockIOrmMockRecorder) Last added in v0.1.132

func (mr *MockIOrmMockRecorder) Last(dest interface{}, conds ...interface{}) *gomock.Call

Last indicates an expected call of Last.

func (*MockIOrmMockRecorder) Limit added in v0.1.132

func (mr *MockIOrmMockRecorder) Limit(limit interface{}) *gomock.Call

Limit indicates an expected call of Limit.

func (*MockIOrmMockRecorder) Model added in v0.1.132

func (mr *MockIOrmMockRecorder) Model(value interface{}) *gomock.Call

Model indicates an expected call of Model.

func (*MockIOrmMockRecorder) Not added in v0.1.132

func (mr *MockIOrmMockRecorder) Not(query interface{}, args ...interface{}) *gomock.Call

Not indicates an expected call of Not.

func (*MockIOrmMockRecorder) Offset added in v0.1.132

func (mr *MockIOrmMockRecorder) Offset(offset interface{}) *gomock.Call

Offset indicates an expected call of Offset.

func (*MockIOrmMockRecorder) Omit added in v0.1.132

func (mr *MockIOrmMockRecorder) Omit(columns ...interface{}) *gomock.Call

Omit indicates an expected call of Omit.

func (*MockIOrmMockRecorder) Or added in v0.1.132

func (mr *MockIOrmMockRecorder) Or(query interface{}, args ...interface{}) *gomock.Call

Or indicates an expected call of Or.

func (*MockIOrmMockRecorder) Order added in v0.1.132

func (mr *MockIOrmMockRecorder) Order(value interface{}) *gomock.Call

Order indicates an expected call of Order.

func (*MockIOrmMockRecorder) Pluck added in v0.1.132

func (mr *MockIOrmMockRecorder) Pluck(column, dest interface{}) *gomock.Call

Pluck indicates an expected call of Pluck.

func (*MockIOrmMockRecorder) Preload added in v0.1.132

func (mr *MockIOrmMockRecorder) Preload(query interface{}, args ...interface{}) *gomock.Call

Preload indicates an expected call of Preload.

func (*MockIOrmMockRecorder) Raw added in v0.1.132

func (mr *MockIOrmMockRecorder) Raw(sql interface{}, values ...interface{}) *gomock.Call

Raw indicates an expected call of Raw.

func (*MockIOrmMockRecorder) Rollback added in v0.1.132

func (mr *MockIOrmMockRecorder) Rollback() *gomock.Call

Rollback indicates an expected call of Rollback.

func (*MockIOrmMockRecorder) RollbackTo added in v0.1.132

func (mr *MockIOrmMockRecorder) RollbackTo(name interface{}) *gomock.Call

RollbackTo indicates an expected call of RollbackTo.

func (*MockIOrmMockRecorder) Row added in v0.1.132

func (mr *MockIOrmMockRecorder) Row() *gomock.Call

Row indicates an expected call of Row.

func (*MockIOrmMockRecorder) Rows added in v0.1.132

func (mr *MockIOrmMockRecorder) Rows() *gomock.Call

Rows indicates an expected call of Rows.

func (*MockIOrmMockRecorder) Save added in v0.1.132

func (mr *MockIOrmMockRecorder) Save(value interface{}) *gomock.Call

Save indicates an expected call of Save.

func (*MockIOrmMockRecorder) SavePoint added in v0.1.132

func (mr *MockIOrmMockRecorder) SavePoint(name interface{}) *gomock.Call

SavePoint indicates an expected call of SavePoint.

func (*MockIOrmMockRecorder) Scan added in v0.1.132

func (mr *MockIOrmMockRecorder) Scan(dest interface{}) *gomock.Call

Scan indicates an expected call of Scan.

func (*MockIOrmMockRecorder) ScanRows added in v0.1.132

func (mr *MockIOrmMockRecorder) ScanRows(rows, dest interface{}) *gomock.Call

ScanRows indicates an expected call of ScanRows.

func (*MockIOrmMockRecorder) Scopes added in v0.1.132

func (mr *MockIOrmMockRecorder) Scopes(funcs ...interface{}) *gomock.Call

Scopes indicates an expected call of Scopes.

func (*MockIOrmMockRecorder) Select added in v0.1.132

func (mr *MockIOrmMockRecorder) Select(query interface{}, args ...interface{}) *gomock.Call

Select indicates an expected call of Select.

func (*MockIOrmMockRecorder) Session added in v0.1.132

func (mr *MockIOrmMockRecorder) Session(config interface{}) *gomock.Call

Session indicates an expected call of Session.

func (*MockIOrmMockRecorder) Set added in v0.1.132

func (mr *MockIOrmMockRecorder) Set(key, value interface{}) *gomock.Call

Set indicates an expected call of Set.

func (*MockIOrmMockRecorder) SetContext added in v0.1.132

func (mr *MockIOrmMockRecorder) SetContext(ctx interface{}) *gomock.Call

SetContext indicates an expected call of SetContext.

func (*MockIOrmMockRecorder) SetupJoinTable added in v0.1.132

func (mr *MockIOrmMockRecorder) SetupJoinTable(model, field, joinTable interface{}) *gomock.Call

SetupJoinTable indicates an expected call of SetupJoinTable.

func (*MockIOrmMockRecorder) SqlDB added in v0.1.132

func (mr *MockIOrmMockRecorder) SqlDB() *gomock.Call

SqlDB indicates an expected call of SqlDB.

func (*MockIOrmMockRecorder) Table added in v0.1.132

func (mr *MockIOrmMockRecorder) Table(name interface{}, args ...interface{}) *gomock.Call

Table indicates an expected call of Table.

func (*MockIOrmMockRecorder) Take added in v0.1.132

func (mr *MockIOrmMockRecorder) Take(dest interface{}, conds ...interface{}) *gomock.Call

Take indicates an expected call of Take.

func (*MockIOrmMockRecorder) Transaction added in v0.1.132

func (mr *MockIOrmMockRecorder) Transaction(fc interface{}, opts ...interface{}) *gomock.Call

Transaction indicates an expected call of Transaction.

func (*MockIOrmMockRecorder) Unscoped added in v0.1.132

func (mr *MockIOrmMockRecorder) Unscoped() *gomock.Call

Unscoped indicates an expected call of Unscoped.

func (*MockIOrmMockRecorder) Update added in v0.1.132

func (mr *MockIOrmMockRecorder) Update(column, value interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockIOrmMockRecorder) UpdateColumn added in v0.1.132

func (mr *MockIOrmMockRecorder) UpdateColumn(column, value interface{}) *gomock.Call

UpdateColumn indicates an expected call of UpdateColumn.

func (*MockIOrmMockRecorder) UpdateColumns added in v0.1.132

func (mr *MockIOrmMockRecorder) UpdateColumns(values interface{}) *gomock.Call

UpdateColumns indicates an expected call of UpdateColumns.

func (*MockIOrmMockRecorder) Updates added in v0.1.132

func (mr *MockIOrmMockRecorder) Updates(values interface{}) *gomock.Call

Updates indicates an expected call of Updates.

func (*MockIOrmMockRecorder) Use added in v0.1.132

func (mr *MockIOrmMockRecorder) Use(plugin interface{}) *gomock.Call

Use indicates an expected call of Use.

func (*MockIOrmMockRecorder) Where added in v0.1.132

func (mr *MockIOrmMockRecorder) Where(query interface{}, args ...interface{}) *gomock.Call

Where indicates an expected call of Where.

func (*MockIOrmMockRecorder) WithContext added in v0.1.132

func (mr *MockIOrmMockRecorder) WithContext(ctx interface{}) *gomock.Call

WithContext indicates an expected call of WithContext.

type MockIRabbitMq

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

MockIRabbitMq is a mock of IRabbitMq interface.

func NewMockIRabbitMq

func NewMockIRabbitMq(ctrl *gomock.Controller) *MockIRabbitMq

NewMockIRabbitMq creates a new mock instance.

func (*MockIRabbitMq) ChannelBox added in v0.1.103

func (m *MockIRabbitMq) ChannelBox() *rabbitmq.ChannelBox

ChannelBox mocks base method.

func (*MockIRabbitMq) Consume

func (m *MockIRabbitMq) Consume(queueName string, opCodes []string, limit int, autoAck, noWait, exclusive bool) <-chan amqp.Delivery

Consume mocks base method.

func (*MockIRabbitMq) ConsumeExchange added in v0.1.101

func (m *MockIRabbitMq) ConsumeExchange(exchangeName, exchangeType, queueName string, opCodes []string, limit int, autoAck, noWait, exclusive bool) <-chan amqp.Delivery

ConsumeExchange mocks base method.

func (*MockIRabbitMq) DecodeBody

func (m *MockIRabbitMq) DecodeBody(d amqp.Delivery, ret interface{}) error

DecodeBody mocks base method.

func (*MockIRabbitMq) DecodeHeaders

func (m *MockIRabbitMq) DecodeHeaders(d amqp.Delivery) *rabbitmq.RabbitHeaders

DecodeHeaders mocks base method.

func (*MockIRabbitMq) EXPECT

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

func (*MockIRabbitMq) ExchangeDeclare

func (m *MockIRabbitMq) ExchangeDeclare(dftExchange ...*rabbitmq.ExchangeData)

ExchangeDeclare mocks base method.

func (*MockIRabbitMq) GetConsumeChannelBox

func (m *MockIRabbitMq) GetConsumeChannelBox(queueName string, opCodes []string, dftExchange ...*rabbitmq.ExchangeData) *rabbitmq.ChannelBox

GetConsumeChannelBox mocks base method.

func (*MockIRabbitMq) Publish

func (m *MockIRabbitMq) Publish(opCode string, data interface{}, dftOpUid ...string) bool

Publish mocks base method.

func (*MockIRabbitMq) PublishExchange added in v0.1.101

func (m *MockIRabbitMq) PublishExchange(serviceName, exchangeName, exchangeType, opCode string, data interface{}, dftOpUid ...string) bool

PublishExchange mocks base method.

func (*MockIRabbitMq) SetPanicRecover

func (m *MockIRabbitMq) SetPanicRecover(v bool)

SetPanicRecover mocks base method.

type MockIRabbitMqMockRecorder

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

MockIRabbitMqMockRecorder is the mock recorder for MockIRabbitMq.

func (*MockIRabbitMqMockRecorder) ChannelBox added in v0.1.103

func (mr *MockIRabbitMqMockRecorder) ChannelBox() *gomock.Call

ChannelBox indicates an expected call of ChannelBox.

func (*MockIRabbitMqMockRecorder) Consume

func (mr *MockIRabbitMqMockRecorder) Consume(queueName, opCodes, limit, autoAck, noWait, exclusive interface{}) *gomock.Call

Consume indicates an expected call of Consume.

func (*MockIRabbitMqMockRecorder) ConsumeExchange added in v0.1.101

func (mr *MockIRabbitMqMockRecorder) ConsumeExchange(exchangeName, exchangeType, queueName, opCodes, limit, autoAck, noWait, exclusive interface{}) *gomock.Call

ConsumeExchange indicates an expected call of ConsumeExchange.

func (*MockIRabbitMqMockRecorder) DecodeBody

func (mr *MockIRabbitMqMockRecorder) DecodeBody(d, ret interface{}) *gomock.Call

DecodeBody indicates an expected call of DecodeBody.

func (*MockIRabbitMqMockRecorder) DecodeHeaders

func (mr *MockIRabbitMqMockRecorder) DecodeHeaders(d interface{}) *gomock.Call

DecodeHeaders indicates an expected call of DecodeHeaders.

func (*MockIRabbitMqMockRecorder) ExchangeDeclare

func (mr *MockIRabbitMqMockRecorder) ExchangeDeclare(dftExchange ...interface{}) *gomock.Call

ExchangeDeclare indicates an expected call of ExchangeDeclare.

func (*MockIRabbitMqMockRecorder) GetConsumeChannelBox

func (mr *MockIRabbitMqMockRecorder) GetConsumeChannelBox(queueName, opCodes interface{}, dftExchange ...interface{}) *gomock.Call

GetConsumeChannelBox indicates an expected call of GetConsumeChannelBox.

func (*MockIRabbitMqMockRecorder) Publish

func (mr *MockIRabbitMqMockRecorder) Publish(opCode, data interface{}, dftOpUid ...interface{}) *gomock.Call

Publish indicates an expected call of Publish.

func (*MockIRabbitMqMockRecorder) PublishExchange added in v0.1.101

func (mr *MockIRabbitMqMockRecorder) PublishExchange(serviceName, exchangeName, exchangeType, opCode, data interface{}, dftOpUid ...interface{}) *gomock.Call

PublishExchange indicates an expected call of PublishExchange.

func (*MockIRabbitMqMockRecorder) SetPanicRecover

func (mr *MockIRabbitMqMockRecorder) SetPanicRecover(v interface{}) *gomock.Call

SetPanicRecover indicates an expected call of SetPanicRecover.

type MockIRedis

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

MockIRedis is a mock of IRedis interface.

func NewMockIRedis

func NewMockIRedis(ctrl *gomock.Controller) *MockIRedis

NewMockIRedis creates a new mock instance.

func (*MockIRedis) Add

func (m *MockIRedis) Add(key string, value interface{}, expire ...time.Duration) bool

Add mocks base method.

func (*MockIRedis) Del

func (m *MockIRedis) Del(key string) bool

Del mocks base method.

func (*MockIRedis) Do

func (m *MockIRedis) Do(cmd string, args ...interface{}) interface{}

Do mocks base method.

func (*MockIRedis) EXPECT

func (m *MockIRedis) EXPECT() *MockIRedisMockRecorder

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

func (*MockIRedis) Exists

func (m *MockIRedis) Exists(key string) bool

Exists mocks base method.

func (*MockIRedis) Get

func (m *MockIRedis) Get(key string) *value.Value

Get mocks base method.

func (*MockIRedis) Incr

func (m *MockIRedis) Incr(key string, delta int) int

Incr mocks base method.

func (*MockIRedis) MAdd

func (m *MockIRedis) MAdd(items map[string]interface{}, expire ...time.Duration) bool

MAdd mocks base method.

func (*MockIRedis) MDel

func (m *MockIRedis) MDel(keys []string) bool

MDel mocks base method.

func (*MockIRedis) MGet

func (m *MockIRedis) MGet(keys []string) map[string]*value.Value

MGet mocks base method.

func (*MockIRedis) MSet

func (m *MockIRedis) MSet(items map[string]interface{}, expire ...time.Duration) bool

MSet mocks base method.

func (*MockIRedis) Set

func (m *MockIRedis) Set(key string, value interface{}, expire ...time.Duration) bool

Set mocks base method.

func (*MockIRedis) SetPanicRecover

func (m *MockIRedis) SetPanicRecover(v bool)

SetPanicRecover mocks base method.

type MockIRedisMockRecorder

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

MockIRedisMockRecorder is the mock recorder for MockIRedis.

func (*MockIRedisMockRecorder) Add

func (mr *MockIRedisMockRecorder) Add(key, value interface{}, expire ...interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockIRedisMockRecorder) Del

func (mr *MockIRedisMockRecorder) Del(key interface{}) *gomock.Call

Del indicates an expected call of Del.

func (*MockIRedisMockRecorder) Do

func (mr *MockIRedisMockRecorder) Do(cmd interface{}, args ...interface{}) *gomock.Call

Do indicates an expected call of Do.

func (*MockIRedisMockRecorder) Exists

func (mr *MockIRedisMockRecorder) Exists(key interface{}) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockIRedisMockRecorder) Get

func (mr *MockIRedisMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockIRedisMockRecorder) Incr

func (mr *MockIRedisMockRecorder) Incr(key, delta interface{}) *gomock.Call

Incr indicates an expected call of Incr.

func (*MockIRedisMockRecorder) MAdd

func (mr *MockIRedisMockRecorder) MAdd(items interface{}, expire ...interface{}) *gomock.Call

MAdd indicates an expected call of MAdd.

func (*MockIRedisMockRecorder) MDel

func (mr *MockIRedisMockRecorder) MDel(keys interface{}) *gomock.Call

MDel indicates an expected call of MDel.

func (*MockIRedisMockRecorder) MGet

func (mr *MockIRedisMockRecorder) MGet(keys interface{}) *gomock.Call

MGet indicates an expected call of MGet.

func (*MockIRedisMockRecorder) MSet

func (mr *MockIRedisMockRecorder) MSet(items interface{}, expire ...interface{}) *gomock.Call

MSet indicates an expected call of MSet.

func (*MockIRedisMockRecorder) Set

func (mr *MockIRedisMockRecorder) Set(key, value interface{}, expire ...interface{}) *gomock.Call

Set indicates an expected call of Set.

func (*MockIRedisMockRecorder) SetPanicRecover

func (mr *MockIRedisMockRecorder) SetPanicRecover(v interface{}) *gomock.Call

SetPanicRecover indicates an expected call of SetPanicRecover.

type MockIRow

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

MockIRow is a mock of IRow interface.

func NewMockIRow

func NewMockIRow(ctrl *gomock.Controller) *MockIRow

NewMockIRow creates a new mock instance.

func (*MockIRow) Context

func (m *MockIRow) Context() iface.IContext

Context mocks base method.

func (*MockIRow) EXPECT

func (m *MockIRow) EXPECT() *MockIRowMockRecorder

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

func (*MockIRow) GetObj

func (m *MockIRow) GetObj(obj iface.IObject) iface.IObject

GetObj mocks base method.

func (*MockIRow) GetObjBox added in v0.1.132

func (m *MockIRow) GetObjBox(className string, params ...interface{}) iface.IObject

GetObjBox mocks base method.

func (*MockIRow) GetObjBoxCtx added in v0.1.132

func (m *MockIRow) GetObjBoxCtx(ctx iface.IContext, className string, params ...interface{}) iface.IObject

GetObjBoxCtx mocks base method.

func (*MockIRow) GetObjCtx

func (m *MockIRow) GetObjCtx(ctx iface.IContext, obj iface.IObject) iface.IObject

GetObjCtx mocks base method.

func (*MockIRow) GetObjPool

func (m *MockIRow) GetObjPool(className string, funcName iface.IObjPoolFunc, params ...interface{}) iface.IObject

GetObjPool mocks base method.

func (*MockIRow) GetObjPoolCtx

func (m *MockIRow) GetObjPoolCtx(ctr iface.IContext, className string, funcName iface.IObjPoolFunc, params ...interface{}) iface.IObject

GetObjPoolCtx mocks base method.

func (*MockIRow) GetObjSingle

func (m *MockIRow) GetObjSingle(name string, funcName iface.IObjSingleFunc, params ...interface{}) iface.IObject

GetObjSingle mocks base method.

func (*MockIRow) GetObjSingleCtx

func (m *MockIRow) GetObjSingleCtx(ctx iface.IContext, name string, funcName iface.IObjSingleFunc, params ...interface{}) iface.IObject

GetObjSingleCtx mocks base method.

func (*MockIRow) Scan

func (m *MockIRow) Scan(dest ...interface{}) error

Scan mocks base method.

func (*MockIRow) SetContext

func (m *MockIRow) SetContext(ctx iface.IContext)

SetContext mocks base method.

type MockIRowMockRecorder

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

MockIRowMockRecorder is the mock recorder for MockIRow.

func (*MockIRowMockRecorder) Context

func (mr *MockIRowMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context.

func (*MockIRowMockRecorder) GetObj

func (mr *MockIRowMockRecorder) GetObj(obj interface{}) *gomock.Call

GetObj indicates an expected call of GetObj.

func (*MockIRowMockRecorder) GetObjBox added in v0.1.132

func (mr *MockIRowMockRecorder) GetObjBox(className interface{}, params ...interface{}) *gomock.Call

GetObjBox indicates an expected call of GetObjBox.

func (*MockIRowMockRecorder) GetObjBoxCtx added in v0.1.132

func (mr *MockIRowMockRecorder) GetObjBoxCtx(ctx, className interface{}, params ...interface{}) *gomock.Call

GetObjBoxCtx indicates an expected call of GetObjBoxCtx.

func (*MockIRowMockRecorder) GetObjCtx

func (mr *MockIRowMockRecorder) GetObjCtx(ctx, obj interface{}) *gomock.Call

GetObjCtx indicates an expected call of GetObjCtx.

func (*MockIRowMockRecorder) GetObjPool

func (mr *MockIRowMockRecorder) GetObjPool(className, funcName interface{}, params ...interface{}) *gomock.Call

GetObjPool indicates an expected call of GetObjPool.

func (*MockIRowMockRecorder) GetObjPoolCtx

func (mr *MockIRowMockRecorder) GetObjPoolCtx(ctr, className, funcName interface{}, params ...interface{}) *gomock.Call

GetObjPoolCtx indicates an expected call of GetObjPoolCtx.

func (*MockIRowMockRecorder) GetObjSingle

func (mr *MockIRowMockRecorder) GetObjSingle(name, funcName interface{}, params ...interface{}) *gomock.Call

GetObjSingle indicates an expected call of GetObjSingle.

func (*MockIRowMockRecorder) GetObjSingleCtx

func (mr *MockIRowMockRecorder) GetObjSingleCtx(ctx, name, funcName interface{}, params ...interface{}) *gomock.Call

GetObjSingleCtx indicates an expected call of GetObjSingleCtx.

func (*MockIRowMockRecorder) Scan

func (mr *MockIRowMockRecorder) Scan(dest ...interface{}) *gomock.Call

Scan indicates an expected call of Scan.

func (*MockIRowMockRecorder) SetContext

func (mr *MockIRowMockRecorder) SetContext(ctx interface{}) *gomock.Call

SetContext indicates an expected call of SetContext.

type MockIStmt

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

MockIStmt is a mock of IStmt interface.

func NewMockIStmt

func NewMockIStmt(ctrl *gomock.Controller) *MockIStmt

NewMockIStmt creates a new mock instance.

func (*MockIStmt) Close

func (m *MockIStmt) Close()

Close mocks base method.

func (*MockIStmt) Context

func (m *MockIStmt) Context() iface.IContext

Context mocks base method.

func (*MockIStmt) EXPECT

func (m *MockIStmt) EXPECT() *MockIStmtMockRecorder

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

func (*MockIStmt) Exec

func (m *MockIStmt) Exec(args ...interface{}) sql.Result

Exec mocks base method.

func (*MockIStmt) ExecContext

func (m *MockIStmt) ExecContext(ctx context.Context, args ...interface{}) sql.Result

ExecContext mocks base method.

func (*MockIStmt) GetObj

func (m *MockIStmt) GetObj(obj iface.IObject) iface.IObject

GetObj mocks base method.

func (*MockIStmt) GetObjBox added in v0.1.132

func (m *MockIStmt) GetObjBox(className string, params ...interface{}) iface.IObject

GetObjBox mocks base method.

func (*MockIStmt) GetObjBoxCtx added in v0.1.132

func (m *MockIStmt) GetObjBoxCtx(ctx iface.IContext, className string, params ...interface{}) iface.IObject

GetObjBoxCtx mocks base method.

func (*MockIStmt) GetObjCtx

func (m *MockIStmt) GetObjCtx(ctx iface.IContext, obj iface.IObject) iface.IObject

GetObjCtx mocks base method.

func (*MockIStmt) GetObjPool

func (m *MockIStmt) GetObjPool(className string, funcName iface.IObjPoolFunc, params ...interface{}) iface.IObject

GetObjPool mocks base method.

func (*MockIStmt) GetObjPoolCtx

func (m *MockIStmt) GetObjPoolCtx(ctr iface.IContext, className string, funcName iface.IObjPoolFunc, params ...interface{}) iface.IObject

GetObjPoolCtx mocks base method.

func (*MockIStmt) GetObjSingle

func (m *MockIStmt) GetObjSingle(name string, funcName iface.IObjSingleFunc, params ...interface{}) iface.IObject

GetObjSingle mocks base method.

func (*MockIStmt) GetObjSingleCtx

func (m *MockIStmt) GetObjSingleCtx(ctx iface.IContext, name string, funcName iface.IObjSingleFunc, params ...interface{}) iface.IObject

GetObjSingleCtx mocks base method.

func (*MockIStmt) Query

func (m *MockIStmt) Query(args ...interface{}) *sql.Rows

Query mocks base method.

func (*MockIStmt) QueryContext

func (m *MockIStmt) QueryContext(ctx context.Context, args ...interface{}) *sql.Rows

QueryContext mocks base method.

func (*MockIStmt) QueryOne

func (m *MockIStmt) QueryOne(args ...interface{}) adapter.IRow

QueryOne mocks base method.

func (*MockIStmt) QueryOneContext

func (m *MockIStmt) QueryOneContext(ctx context.Context, args ...interface{}) adapter.IRow

QueryOneContext mocks base method.

func (*MockIStmt) SetContext

func (m *MockIStmt) SetContext(ctx iface.IContext)

SetContext mocks base method.

type MockIStmtMockRecorder

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

MockIStmtMockRecorder is the mock recorder for MockIStmt.

func (*MockIStmtMockRecorder) Close

func (mr *MockIStmtMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockIStmtMockRecorder) Context

func (mr *MockIStmtMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context.

func (*MockIStmtMockRecorder) Exec

func (mr *MockIStmtMockRecorder) Exec(args ...interface{}) *gomock.Call

Exec indicates an expected call of Exec.

func (*MockIStmtMockRecorder) ExecContext

func (mr *MockIStmtMockRecorder) ExecContext(ctx interface{}, args ...interface{}) *gomock.Call

ExecContext indicates an expected call of ExecContext.

func (*MockIStmtMockRecorder) GetObj

func (mr *MockIStmtMockRecorder) GetObj(obj interface{}) *gomock.Call

GetObj indicates an expected call of GetObj.

func (*MockIStmtMockRecorder) GetObjBox added in v0.1.132

func (mr *MockIStmtMockRecorder) GetObjBox(className interface{}, params ...interface{}) *gomock.Call

GetObjBox indicates an expected call of GetObjBox.

func (*MockIStmtMockRecorder) GetObjBoxCtx added in v0.1.132

func (mr *MockIStmtMockRecorder) GetObjBoxCtx(ctx, className interface{}, params ...interface{}) *gomock.Call

GetObjBoxCtx indicates an expected call of GetObjBoxCtx.

func (*MockIStmtMockRecorder) GetObjCtx

func (mr *MockIStmtMockRecorder) GetObjCtx(ctx, obj interface{}) *gomock.Call

GetObjCtx indicates an expected call of GetObjCtx.

func (*MockIStmtMockRecorder) GetObjPool

func (mr *MockIStmtMockRecorder) GetObjPool(className, funcName interface{}, params ...interface{}) *gomock.Call

GetObjPool indicates an expected call of GetObjPool.

func (*MockIStmtMockRecorder) GetObjPoolCtx

func (mr *MockIStmtMockRecorder) GetObjPoolCtx(ctr, className, funcName interface{}, params ...interface{}) *gomock.Call

GetObjPoolCtx indicates an expected call of GetObjPoolCtx.

func (*MockIStmtMockRecorder) GetObjSingle

func (mr *MockIStmtMockRecorder) GetObjSingle(name, funcName interface{}, params ...interface{}) *gomock.Call

GetObjSingle indicates an expected call of GetObjSingle.

func (*MockIStmtMockRecorder) GetObjSingleCtx

func (mr *MockIStmtMockRecorder) GetObjSingleCtx(ctx, name, funcName interface{}, params ...interface{}) *gomock.Call

GetObjSingleCtx indicates an expected call of GetObjSingleCtx.

func (*MockIStmtMockRecorder) Query

func (mr *MockIStmtMockRecorder) Query(args ...interface{}) *gomock.Call

Query indicates an expected call of Query.

func (*MockIStmtMockRecorder) QueryContext

func (mr *MockIStmtMockRecorder) QueryContext(ctx interface{}, args ...interface{}) *gomock.Call

QueryContext indicates an expected call of QueryContext.

func (*MockIStmtMockRecorder) QueryOne

func (mr *MockIStmtMockRecorder) QueryOne(args ...interface{}) *gomock.Call

QueryOne indicates an expected call of QueryOne.

func (*MockIStmtMockRecorder) QueryOneContext

func (mr *MockIStmtMockRecorder) QueryOneContext(ctx interface{}, args ...interface{}) *gomock.Call

QueryOneContext indicates an expected call of QueryOneContext.

func (*MockIStmtMockRecorder) SetContext

func (mr *MockIStmtMockRecorder) SetContext(ctx interface{}) *gomock.Call

SetContext indicates an expected call of SetContext.

type MockITx

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

MockITx is a mock of ITx interface.

func NewMockITx

func NewMockITx(ctrl *gomock.Controller) *MockITx

NewMockITx creates a new mock instance.

func (*MockITx) Commit

func (m *MockITx) Commit() bool

Commit mocks base method.

func (*MockITx) Context

func (m *MockITx) Context() iface.IContext

Context mocks base method.

func (*MockITx) EXPECT

func (m *MockITx) EXPECT() *MockITxMockRecorder

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

func (*MockITx) Exec

func (m *MockITx) Exec(query string, args ...interface{}) sql.Result

Exec mocks base method.

func (*MockITx) ExecContext

func (m *MockITx) ExecContext(ctx context.Context, query string, args ...interface{}) sql.Result

ExecContext mocks base method.

func (*MockITx) GetObj

func (m *MockITx) GetObj(obj iface.IObject) iface.IObject

GetObj mocks base method.

func (*MockITx) GetObjBox added in v0.1.132

func (m *MockITx) GetObjBox(className string, params ...interface{}) iface.IObject

GetObjBox mocks base method.

func (*MockITx) GetObjBoxCtx added in v0.1.132

func (m *MockITx) GetObjBoxCtx(ctx iface.IContext, className string, params ...interface{}) iface.IObject

GetObjBoxCtx mocks base method.

func (*MockITx) GetObjCtx

func (m *MockITx) GetObjCtx(ctx iface.IContext, obj iface.IObject) iface.IObject

GetObjCtx mocks base method.

func (*MockITx) GetObjPool

func (m *MockITx) GetObjPool(className string, funcName iface.IObjPoolFunc, params ...interface{}) iface.IObject

GetObjPool mocks base method.

func (*MockITx) GetObjPoolCtx

func (m *MockITx) GetObjPoolCtx(ctr iface.IContext, className string, funcName iface.IObjPoolFunc, params ...interface{}) iface.IObject

GetObjPoolCtx mocks base method.

func (*MockITx) GetObjSingle

func (m *MockITx) GetObjSingle(name string, funcName iface.IObjSingleFunc, params ...interface{}) iface.IObject

GetObjSingle mocks base method.

func (*MockITx) GetObjSingleCtx

func (m *MockITx) GetObjSingleCtx(ctx iface.IContext, name string, funcName iface.IObjSingleFunc, params ...interface{}) iface.IObject

GetObjSingleCtx mocks base method.

func (*MockITx) PrepareContext

func (m *MockITx) PrepareContext(ctx context.Context, query string) adapter.IStmt

PrepareContext mocks base method.

func (*MockITx) PrepareSql added in v0.1.109

func (m *MockITx) PrepareSql(query string) adapter.IStmt

PrepareSql mocks base method.

func (*MockITx) Query

func (m *MockITx) Query(query string, args ...interface{}) *sql.Rows

Query mocks base method.

func (*MockITx) QueryContext

func (m *MockITx) QueryContext(ctx context.Context, query string, args ...interface{}) *sql.Rows

QueryContext mocks base method.

func (*MockITx) QueryOne

func (m *MockITx) QueryOne(query string, args ...interface{}) adapter.IRow

QueryOne mocks base method.

func (*MockITx) QueryOneContext

func (m *MockITx) QueryOneContext(ctx context.Context, query string, args ...interface{}) adapter.IRow

QueryOneContext mocks base method.

func (*MockITx) Rollback

func (m *MockITx) Rollback() bool

Rollback mocks base method.

func (*MockITx) SetContext

func (m *MockITx) SetContext(ctx iface.IContext)

SetContext mocks base method.

type MockITxMockRecorder

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

MockITxMockRecorder is the mock recorder for MockITx.

func (*MockITxMockRecorder) Commit

func (mr *MockITxMockRecorder) Commit() *gomock.Call

Commit indicates an expected call of Commit.

func (*MockITxMockRecorder) Context

func (mr *MockITxMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context.

func (*MockITxMockRecorder) Exec

func (mr *MockITxMockRecorder) Exec(query interface{}, args ...interface{}) *gomock.Call

Exec indicates an expected call of Exec.

func (*MockITxMockRecorder) ExecContext

func (mr *MockITxMockRecorder) ExecContext(ctx, query interface{}, args ...interface{}) *gomock.Call

ExecContext indicates an expected call of ExecContext.

func (*MockITxMockRecorder) GetObj

func (mr *MockITxMockRecorder) GetObj(obj interface{}) *gomock.Call

GetObj indicates an expected call of GetObj.

func (*MockITxMockRecorder) GetObjBox added in v0.1.132

func (mr *MockITxMockRecorder) GetObjBox(className interface{}, params ...interface{}) *gomock.Call

GetObjBox indicates an expected call of GetObjBox.

func (*MockITxMockRecorder) GetObjBoxCtx added in v0.1.132

func (mr *MockITxMockRecorder) GetObjBoxCtx(ctx, className interface{}, params ...interface{}) *gomock.Call

GetObjBoxCtx indicates an expected call of GetObjBoxCtx.

func (*MockITxMockRecorder) GetObjCtx

func (mr *MockITxMockRecorder) GetObjCtx(ctx, obj interface{}) *gomock.Call

GetObjCtx indicates an expected call of GetObjCtx.

func (*MockITxMockRecorder) GetObjPool

func (mr *MockITxMockRecorder) GetObjPool(className, funcName interface{}, params ...interface{}) *gomock.Call

GetObjPool indicates an expected call of GetObjPool.

func (*MockITxMockRecorder) GetObjPoolCtx

func (mr *MockITxMockRecorder) GetObjPoolCtx(ctr, className, funcName interface{}, params ...interface{}) *gomock.Call

GetObjPoolCtx indicates an expected call of GetObjPoolCtx.

func (*MockITxMockRecorder) GetObjSingle

func (mr *MockITxMockRecorder) GetObjSingle(name, funcName interface{}, params ...interface{}) *gomock.Call

GetObjSingle indicates an expected call of GetObjSingle.

func (*MockITxMockRecorder) GetObjSingleCtx

func (mr *MockITxMockRecorder) GetObjSingleCtx(ctx, name, funcName interface{}, params ...interface{}) *gomock.Call

GetObjSingleCtx indicates an expected call of GetObjSingleCtx.

func (*MockITxMockRecorder) PrepareContext

func (mr *MockITxMockRecorder) PrepareContext(ctx, query interface{}) *gomock.Call

PrepareContext indicates an expected call of PrepareContext.

func (*MockITxMockRecorder) PrepareSql added in v0.1.109

func (mr *MockITxMockRecorder) PrepareSql(query interface{}) *gomock.Call

PrepareSql indicates an expected call of PrepareSql.

func (*MockITxMockRecorder) Query

func (mr *MockITxMockRecorder) Query(query interface{}, args ...interface{}) *gomock.Call

Query indicates an expected call of Query.

func (*MockITxMockRecorder) QueryContext

func (mr *MockITxMockRecorder) QueryContext(ctx, query interface{}, args ...interface{}) *gomock.Call

QueryContext indicates an expected call of QueryContext.

func (*MockITxMockRecorder) QueryOne

func (mr *MockITxMockRecorder) QueryOne(query interface{}, args ...interface{}) *gomock.Call

QueryOne indicates an expected call of QueryOne.

func (*MockITxMockRecorder) QueryOneContext

func (mr *MockITxMockRecorder) QueryOneContext(ctx, query interface{}, args ...interface{}) *gomock.Call

QueryOneContext indicates an expected call of QueryOneContext.

func (*MockITxMockRecorder) Rollback

func (mr *MockITxMockRecorder) Rollback() *gomock.Call

Rollback indicates an expected call of Rollback.

func (*MockITxMockRecorder) SetContext

func (mr *MockITxMockRecorder) SetContext(ctx interface{}) *gomock.Call

SetContext indicates an expected call of SetContext.

Jump to

Keyboard shortcuts

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