Documentation
¶
Index ¶
- type Application
- func (_m *Application) BasePath(path string) string
- func (_m *Application) Bind(key interface{}, callback func(foundation.Application) (interface{}, error))
- func (_m *Application) BindWith(key interface{}, ...)
- func (_m *Application) Boot()
- func (_m *Application) Commands(_a0 []console.Command)
- func (_m *Application) ConfigPath(path string) string
- func (_m *Application) CurrentLocale(ctx context.Context) string
- func (_m *Application) DatabasePath(path string) string
- func (_m *Application) EXPECT() *Application_Expecter
- func (_m *Application) ExecutablePath() (string, error)
- func (_m *Application) GetJson() foundation.Json
- func (_m *Application) Instance(key interface{}, instance interface{})
- func (_m *Application) IsLocale(ctx context.Context, locale string) bool
- func (_m *Application) LangPath(path string) string
- func (_m *Application) Make(key interface{}) (interface{}, error)
- func (_m *Application) MakeArtisan() console.Artisan
- func (_m *Application) MakeAuth(ctx http.Context) auth.Auth
- func (_m *Application) MakeCache() cache.Cache
- func (_m *Application) MakeConfig() config.Config
- func (_m *Application) MakeCrypt() crypt.Crypt
- func (_m *Application) MakeEvent() event.Instance
- func (_m *Application) MakeGate() access.Gate
- func (_m *Application) MakeGrpc() grpc.Grpc
- func (_m *Application) MakeHash() hash.Hash
- func (_m *Application) MakeLang(ctx context.Context) translation.Translator
- func (_m *Application) MakeLog() log.Log
- func (_m *Application) MakeMail() mail.Mail
- func (_m *Application) MakeOrm() orm.Orm
- func (_m *Application) MakeQueue() queue.Queue
- func (_m *Application) MakeRateLimiter() http.RateLimiter
- func (_m *Application) MakeRoute() route.Route
- func (_m *Application) MakeSchedule() schedule.Schedule
- func (_m *Application) MakeSeeder() seeder.Facade
- func (_m *Application) MakeSession() session.Manager
- func (_m *Application) MakeStorage() filesystem.Storage
- func (_m *Application) MakeTesting() testing.Testing
- func (_m *Application) MakeValidation() validation.Validation
- func (_m *Application) MakeView() http.View
- func (_m *Application) MakeWith(key interface{}, parameters map[string]interface{}) (interface{}, error)
- func (_m *Application) Path(path string) string
- func (_m *Application) PublicPath(path string) string
- func (_m *Application) Publishes(packageName string, paths map[string]string, groups ...string)
- func (_m *Application) SetJson(json foundation.Json)
- func (_m *Application) SetLocale(ctx context.Context, locale string) context.Context
- func (_m *Application) Singleton(key interface{}, callback func(foundation.Application) (interface{}, error))
- func (_m *Application) StoragePath(path string) string
- func (_m *Application) Version() string
- type Application_BasePath_Call
- type Application_BindWith_Call
- type Application_Bind_Call
- type Application_Boot_Call
- type Application_Commands_Call
- type Application_ConfigPath_Call
- type Application_CurrentLocale_Call
- func (_c *Application_CurrentLocale_Call) Return(_a0 string) *Application_CurrentLocale_Call
- func (_c *Application_CurrentLocale_Call) Run(run func(ctx context.Context)) *Application_CurrentLocale_Call
- func (_c *Application_CurrentLocale_Call) RunAndReturn(run func(context.Context) string) *Application_CurrentLocale_Call
- type Application_DatabasePath_Call
- type Application_ExecutablePath_Call
- func (_c *Application_ExecutablePath_Call) Return(_a0 string, _a1 error) *Application_ExecutablePath_Call
- func (_c *Application_ExecutablePath_Call) Run(run func()) *Application_ExecutablePath_Call
- func (_c *Application_ExecutablePath_Call) RunAndReturn(run func() (string, error)) *Application_ExecutablePath_Call
- type Application_Expecter
- func (_e *Application_Expecter) BasePath(path interface{}) *Application_BasePath_Call
- func (_e *Application_Expecter) Bind(key interface{}, callback interface{}) *Application_Bind_Call
- func (_e *Application_Expecter) BindWith(key interface{}, callback interface{}) *Application_BindWith_Call
- func (_e *Application_Expecter) Boot() *Application_Boot_Call
- func (_e *Application_Expecter) Commands(_a0 interface{}) *Application_Commands_Call
- func (_e *Application_Expecter) ConfigPath(path interface{}) *Application_ConfigPath_Call
- func (_e *Application_Expecter) CurrentLocale(ctx interface{}) *Application_CurrentLocale_Call
- func (_e *Application_Expecter) DatabasePath(path interface{}) *Application_DatabasePath_Call
- func (_e *Application_Expecter) ExecutablePath() *Application_ExecutablePath_Call
- func (_e *Application_Expecter) GetJson() *Application_GetJson_Call
- func (_e *Application_Expecter) Instance(key interface{}, instance interface{}) *Application_Instance_Call
- func (_e *Application_Expecter) IsLocale(ctx interface{}, locale interface{}) *Application_IsLocale_Call
- func (_e *Application_Expecter) LangPath(path interface{}) *Application_LangPath_Call
- func (_e *Application_Expecter) Make(key interface{}) *Application_Make_Call
- func (_e *Application_Expecter) MakeArtisan() *Application_MakeArtisan_Call
- func (_e *Application_Expecter) MakeAuth(ctx interface{}) *Application_MakeAuth_Call
- func (_e *Application_Expecter) MakeCache() *Application_MakeCache_Call
- func (_e *Application_Expecter) MakeConfig() *Application_MakeConfig_Call
- func (_e *Application_Expecter) MakeCrypt() *Application_MakeCrypt_Call
- func (_e *Application_Expecter) MakeEvent() *Application_MakeEvent_Call
- func (_e *Application_Expecter) MakeGate() *Application_MakeGate_Call
- func (_e *Application_Expecter) MakeGrpc() *Application_MakeGrpc_Call
- func (_e *Application_Expecter) MakeHash() *Application_MakeHash_Call
- func (_e *Application_Expecter) MakeLang(ctx interface{}) *Application_MakeLang_Call
- func (_e *Application_Expecter) MakeLog() *Application_MakeLog_Call
- func (_e *Application_Expecter) MakeMail() *Application_MakeMail_Call
- func (_e *Application_Expecter) MakeOrm() *Application_MakeOrm_Call
- func (_e *Application_Expecter) MakeQueue() *Application_MakeQueue_Call
- func (_e *Application_Expecter) MakeRateLimiter() *Application_MakeRateLimiter_Call
- func (_e *Application_Expecter) MakeRoute() *Application_MakeRoute_Call
- func (_e *Application_Expecter) MakeSchedule() *Application_MakeSchedule_Call
- func (_e *Application_Expecter) MakeSeeder() *Application_MakeSeeder_Call
- func (_e *Application_Expecter) MakeSession() *Application_MakeSession_Call
- func (_e *Application_Expecter) MakeStorage() *Application_MakeStorage_Call
- func (_e *Application_Expecter) MakeTesting() *Application_MakeTesting_Call
- func (_e *Application_Expecter) MakeValidation() *Application_MakeValidation_Call
- func (_e *Application_Expecter) MakeView() *Application_MakeView_Call
- func (_e *Application_Expecter) MakeWith(key interface{}, parameters interface{}) *Application_MakeWith_Call
- func (_e *Application_Expecter) Path(path interface{}) *Application_Path_Call
- func (_e *Application_Expecter) PublicPath(path interface{}) *Application_PublicPath_Call
- func (_e *Application_Expecter) Publishes(packageName interface{}, paths interface{}, groups ...interface{}) *Application_Publishes_Call
- func (_e *Application_Expecter) SetJson(json interface{}) *Application_SetJson_Call
- func (_e *Application_Expecter) SetLocale(ctx interface{}, locale interface{}) *Application_SetLocale_Call
- func (_e *Application_Expecter) Singleton(key interface{}, callback interface{}) *Application_Singleton_Call
- func (_e *Application_Expecter) StoragePath(path interface{}) *Application_StoragePath_Call
- func (_e *Application_Expecter) Version() *Application_Version_Call
- type Application_GetJson_Call
- type Application_Instance_Call
- func (_c *Application_Instance_Call) Return() *Application_Instance_Call
- func (_c *Application_Instance_Call) Run(run func(key interface{}, instance interface{})) *Application_Instance_Call
- func (_c *Application_Instance_Call) RunAndReturn(run func(interface{}, interface{})) *Application_Instance_Call
- type Application_IsLocale_Call
- func (_c *Application_IsLocale_Call) Return(_a0 bool) *Application_IsLocale_Call
- func (_c *Application_IsLocale_Call) Run(run func(ctx context.Context, locale string)) *Application_IsLocale_Call
- func (_c *Application_IsLocale_Call) RunAndReturn(run func(context.Context, string) bool) *Application_IsLocale_Call
- type Application_LangPath_Call
- type Application_MakeArtisan_Call
- type Application_MakeAuth_Call
- type Application_MakeCache_Call
- type Application_MakeConfig_Call
- type Application_MakeCrypt_Call
- type Application_MakeEvent_Call
- type Application_MakeGate_Call
- type Application_MakeGrpc_Call
- type Application_MakeHash_Call
- type Application_MakeLang_Call
- func (_c *Application_MakeLang_Call) Return(_a0 translation.Translator) *Application_MakeLang_Call
- func (_c *Application_MakeLang_Call) Run(run func(ctx context.Context)) *Application_MakeLang_Call
- func (_c *Application_MakeLang_Call) RunAndReturn(run func(context.Context) translation.Translator) *Application_MakeLang_Call
- type Application_MakeLog_Call
- type Application_MakeMail_Call
- type Application_MakeOrm_Call
- type Application_MakeQueue_Call
- type Application_MakeRateLimiter_Call
- func (_c *Application_MakeRateLimiter_Call) Return(_a0 http.RateLimiter) *Application_MakeRateLimiter_Call
- func (_c *Application_MakeRateLimiter_Call) Run(run func()) *Application_MakeRateLimiter_Call
- func (_c *Application_MakeRateLimiter_Call) RunAndReturn(run func() http.RateLimiter) *Application_MakeRateLimiter_Call
- type Application_MakeRoute_Call
- type Application_MakeSchedule_Call
- func (_c *Application_MakeSchedule_Call) Return(_a0 schedule.Schedule) *Application_MakeSchedule_Call
- func (_c *Application_MakeSchedule_Call) Run(run func()) *Application_MakeSchedule_Call
- func (_c *Application_MakeSchedule_Call) RunAndReturn(run func() schedule.Schedule) *Application_MakeSchedule_Call
- type Application_MakeSeeder_Call
- type Application_MakeSession_Call
- type Application_MakeStorage_Call
- func (_c *Application_MakeStorage_Call) Return(_a0 filesystem.Storage) *Application_MakeStorage_Call
- func (_c *Application_MakeStorage_Call) Run(run func()) *Application_MakeStorage_Call
- func (_c *Application_MakeStorage_Call) RunAndReturn(run func() filesystem.Storage) *Application_MakeStorage_Call
- type Application_MakeTesting_Call
- type Application_MakeValidation_Call
- func (_c *Application_MakeValidation_Call) Return(_a0 validation.Validation) *Application_MakeValidation_Call
- func (_c *Application_MakeValidation_Call) Run(run func()) *Application_MakeValidation_Call
- func (_c *Application_MakeValidation_Call) RunAndReturn(run func() validation.Validation) *Application_MakeValidation_Call
- type Application_MakeView_Call
- type Application_MakeWith_Call
- func (_c *Application_MakeWith_Call) Return(_a0 interface{}, _a1 error) *Application_MakeWith_Call
- func (_c *Application_MakeWith_Call) Run(run func(key interface{}, parameters map[string]interface{})) *Application_MakeWith_Call
- func (_c *Application_MakeWith_Call) RunAndReturn(run func(interface{}, map[string]interface{}) (interface{}, error)) *Application_MakeWith_Call
- type Application_Make_Call
- type Application_Path_Call
- type Application_PublicPath_Call
- type Application_Publishes_Call
- func (_c *Application_Publishes_Call) Return() *Application_Publishes_Call
- func (_c *Application_Publishes_Call) Run(run func(packageName string, paths map[string]string, groups ...string)) *Application_Publishes_Call
- func (_c *Application_Publishes_Call) RunAndReturn(run func(string, map[string]string, ...string)) *Application_Publishes_Call
- type Application_SetJson_Call
- type Application_SetLocale_Call
- func (_c *Application_SetLocale_Call) Return(_a0 context.Context) *Application_SetLocale_Call
- func (_c *Application_SetLocale_Call) Run(run func(ctx context.Context, locale string)) *Application_SetLocale_Call
- func (_c *Application_SetLocale_Call) RunAndReturn(run func(context.Context, string) context.Context) *Application_SetLocale_Call
- type Application_Singleton_Call
- func (_c *Application_Singleton_Call) Return() *Application_Singleton_Call
- func (_c *Application_Singleton_Call) Run(...) *Application_Singleton_Call
- func (_c *Application_Singleton_Call) RunAndReturn(run func(interface{}, func(foundation.Application) (interface{}, error))) *Application_Singleton_Call
- type Application_StoragePath_Call
- type Application_Version_Call
- type Container
- func (_m *Container) Bind(key interface{}, callback func(foundation.Application) (interface{}, error))
- func (_m *Container) BindWith(key interface{}, ...)
- func (_m *Container) EXPECT() *Container_Expecter
- func (_m *Container) Instance(key interface{}, instance interface{})
- func (_m *Container) Make(key interface{}) (interface{}, error)
- func (_m *Container) MakeArtisan() console.Artisan
- func (_m *Container) MakeAuth(ctx http.Context) auth.Auth
- func (_m *Container) MakeCache() cache.Cache
- func (_m *Container) MakeConfig() config.Config
- func (_m *Container) MakeCrypt() crypt.Crypt
- func (_m *Container) MakeEvent() event.Instance
- func (_m *Container) MakeGate() access.Gate
- func (_m *Container) MakeGrpc() grpc.Grpc
- func (_m *Container) MakeHash() hash.Hash
- func (_m *Container) MakeLang(ctx context.Context) translation.Translator
- func (_m *Container) MakeLog() log.Log
- func (_m *Container) MakeMail() mail.Mail
- func (_m *Container) MakeOrm() orm.Orm
- func (_m *Container) MakeQueue() queue.Queue
- func (_m *Container) MakeRateLimiter() http.RateLimiter
- func (_m *Container) MakeRoute() route.Route
- func (_m *Container) MakeSchedule() schedule.Schedule
- func (_m *Container) MakeSeeder() seeder.Facade
- func (_m *Container) MakeSession() session.Manager
- func (_m *Container) MakeStorage() filesystem.Storage
- func (_m *Container) MakeTesting() testing.Testing
- func (_m *Container) MakeValidation() validation.Validation
- func (_m *Container) MakeView() http.View
- func (_m *Container) MakeWith(key interface{}, parameters map[string]interface{}) (interface{}, error)
- func (_m *Container) Singleton(key interface{}, callback func(foundation.Application) (interface{}, error))
- type Container_BindWith_Call
- type Container_Bind_Call
- type Container_Expecter
- func (_e *Container_Expecter) Bind(key interface{}, callback interface{}) *Container_Bind_Call
- func (_e *Container_Expecter) BindWith(key interface{}, callback interface{}) *Container_BindWith_Call
- func (_e *Container_Expecter) Instance(key interface{}, instance interface{}) *Container_Instance_Call
- func (_e *Container_Expecter) Make(key interface{}) *Container_Make_Call
- func (_e *Container_Expecter) MakeArtisan() *Container_MakeArtisan_Call
- func (_e *Container_Expecter) MakeAuth(ctx interface{}) *Container_MakeAuth_Call
- func (_e *Container_Expecter) MakeCache() *Container_MakeCache_Call
- func (_e *Container_Expecter) MakeConfig() *Container_MakeConfig_Call
- func (_e *Container_Expecter) MakeCrypt() *Container_MakeCrypt_Call
- func (_e *Container_Expecter) MakeEvent() *Container_MakeEvent_Call
- func (_e *Container_Expecter) MakeGate() *Container_MakeGate_Call
- func (_e *Container_Expecter) MakeGrpc() *Container_MakeGrpc_Call
- func (_e *Container_Expecter) MakeHash() *Container_MakeHash_Call
- func (_e *Container_Expecter) MakeLang(ctx interface{}) *Container_MakeLang_Call
- func (_e *Container_Expecter) MakeLog() *Container_MakeLog_Call
- func (_e *Container_Expecter) MakeMail() *Container_MakeMail_Call
- func (_e *Container_Expecter) MakeOrm() *Container_MakeOrm_Call
- func (_e *Container_Expecter) MakeQueue() *Container_MakeQueue_Call
- func (_e *Container_Expecter) MakeRateLimiter() *Container_MakeRateLimiter_Call
- func (_e *Container_Expecter) MakeRoute() *Container_MakeRoute_Call
- func (_e *Container_Expecter) MakeSchedule() *Container_MakeSchedule_Call
- func (_e *Container_Expecter) MakeSeeder() *Container_MakeSeeder_Call
- func (_e *Container_Expecter) MakeSession() *Container_MakeSession_Call
- func (_e *Container_Expecter) MakeStorage() *Container_MakeStorage_Call
- func (_e *Container_Expecter) MakeTesting() *Container_MakeTesting_Call
- func (_e *Container_Expecter) MakeValidation() *Container_MakeValidation_Call
- func (_e *Container_Expecter) MakeView() *Container_MakeView_Call
- func (_e *Container_Expecter) MakeWith(key interface{}, parameters interface{}) *Container_MakeWith_Call
- func (_e *Container_Expecter) Singleton(key interface{}, callback interface{}) *Container_Singleton_Call
- type Container_Instance_Call
- type Container_MakeArtisan_Call
- type Container_MakeAuth_Call
- type Container_MakeCache_Call
- type Container_MakeConfig_Call
- type Container_MakeCrypt_Call
- type Container_MakeEvent_Call
- type Container_MakeGate_Call
- type Container_MakeGrpc_Call
- type Container_MakeHash_Call
- type Container_MakeLang_Call
- func (_c *Container_MakeLang_Call) Return(_a0 translation.Translator) *Container_MakeLang_Call
- func (_c *Container_MakeLang_Call) Run(run func(ctx context.Context)) *Container_MakeLang_Call
- func (_c *Container_MakeLang_Call) RunAndReturn(run func(context.Context) translation.Translator) *Container_MakeLang_Call
- type Container_MakeLog_Call
- type Container_MakeMail_Call
- type Container_MakeOrm_Call
- type Container_MakeQueue_Call
- type Container_MakeRateLimiter_Call
- func (_c *Container_MakeRateLimiter_Call) Return(_a0 http.RateLimiter) *Container_MakeRateLimiter_Call
- func (_c *Container_MakeRateLimiter_Call) Run(run func()) *Container_MakeRateLimiter_Call
- func (_c *Container_MakeRateLimiter_Call) RunAndReturn(run func() http.RateLimiter) *Container_MakeRateLimiter_Call
- type Container_MakeRoute_Call
- type Container_MakeSchedule_Call
- type Container_MakeSeeder_Call
- type Container_MakeSession_Call
- type Container_MakeStorage_Call
- type Container_MakeTesting_Call
- type Container_MakeValidation_Call
- func (_c *Container_MakeValidation_Call) Return(_a0 validation.Validation) *Container_MakeValidation_Call
- func (_c *Container_MakeValidation_Call) Run(run func()) *Container_MakeValidation_Call
- func (_c *Container_MakeValidation_Call) RunAndReturn(run func() validation.Validation) *Container_MakeValidation_Call
- type Container_MakeView_Call
- type Container_MakeWith_Call
- func (_c *Container_MakeWith_Call) Return(_a0 interface{}, _a1 error) *Container_MakeWith_Call
- func (_c *Container_MakeWith_Call) Run(run func(key interface{}, parameters map[string]interface{})) *Container_MakeWith_Call
- func (_c *Container_MakeWith_Call) RunAndReturn(run func(interface{}, map[string]interface{}) (interface{}, error)) *Container_MakeWith_Call
- type Container_Make_Call
- type Container_Singleton_Call
- type Json
- type Json_Expecter
- type Json_Marshal_Call
- type Json_Unmarshal_Call
- type ServiceProvider
- type ServiceProvider_Boot_Call
- type ServiceProvider_Expecter
- type ServiceProvider_Register_Call
- func (_c *ServiceProvider_Register_Call) Return() *ServiceProvider_Register_Call
- func (_c *ServiceProvider_Register_Call) Run(run func(app foundation.Application)) *ServiceProvider_Register_Call
- func (_c *ServiceProvider_Register_Call) RunAndReturn(run func(foundation.Application)) *ServiceProvider_Register_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
Application is an autogenerated mock type for the Application type
func NewApplication ¶
func NewApplication(t interface {
mock.TestingT
Cleanup(func())
}) *Application
NewApplication creates a new instance of Application. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Application) BasePath ¶
func (_m *Application) BasePath(path string) string
BasePath provides a mock function with given fields: path
func (*Application) Bind ¶
func (_m *Application) Bind(key interface{}, callback func(foundation.Application) (interface{}, error))
Bind provides a mock function with given fields: key, callback
func (*Application) BindWith ¶
func (_m *Application) BindWith(key interface{}, callback func(foundation.Application, map[string]interface{}) (interface{}, error))
BindWith provides a mock function with given fields: key, callback
func (*Application) Boot ¶
func (_m *Application) Boot()
Boot provides a mock function with given fields:
func (*Application) Commands ¶
func (_m *Application) Commands(_a0 []console.Command)
Commands provides a mock function with given fields: _a0
func (*Application) ConfigPath ¶
func (_m *Application) ConfigPath(path string) string
ConfigPath provides a mock function with given fields: path
func (*Application) CurrentLocale ¶
func (_m *Application) CurrentLocale(ctx context.Context) string
CurrentLocale provides a mock function with given fields: ctx
func (*Application) DatabasePath ¶
func (_m *Application) DatabasePath(path string) string
DatabasePath provides a mock function with given fields: path
func (*Application) EXPECT ¶
func (_m *Application) EXPECT() *Application_Expecter
func (*Application) ExecutablePath ¶
func (_m *Application) ExecutablePath() (string, error)
ExecutablePath provides a mock function with given fields:
func (*Application) GetJson ¶
func (_m *Application) GetJson() foundation.Json
GetJson provides a mock function with given fields:
func (*Application) Instance ¶
func (_m *Application) Instance(key interface{}, instance interface{})
Instance provides a mock function with given fields: key, instance
func (*Application) IsLocale ¶
func (_m *Application) IsLocale(ctx context.Context, locale string) bool
IsLocale provides a mock function with given fields: ctx, locale
func (*Application) LangPath ¶
func (_m *Application) LangPath(path string) string
LangPath provides a mock function with given fields: path
func (*Application) Make ¶
func (_m *Application) Make(key interface{}) (interface{}, error)
Make provides a mock function with given fields: key
func (*Application) MakeArtisan ¶
func (_m *Application) MakeArtisan() console.Artisan
MakeArtisan provides a mock function with given fields:
func (*Application) MakeAuth ¶
func (_m *Application) MakeAuth(ctx http.Context) auth.Auth
MakeAuth provides a mock function with given fields: ctx
func (*Application) MakeCache ¶
func (_m *Application) MakeCache() cache.Cache
MakeCache provides a mock function with given fields:
func (*Application) MakeConfig ¶
func (_m *Application) MakeConfig() config.Config
MakeConfig provides a mock function with given fields:
func (*Application) MakeCrypt ¶
func (_m *Application) MakeCrypt() crypt.Crypt
MakeCrypt provides a mock function with given fields:
func (*Application) MakeEvent ¶
func (_m *Application) MakeEvent() event.Instance
MakeEvent provides a mock function with given fields:
func (*Application) MakeGate ¶
func (_m *Application) MakeGate() access.Gate
MakeGate provides a mock function with given fields:
func (*Application) MakeGrpc ¶
func (_m *Application) MakeGrpc() grpc.Grpc
MakeGrpc provides a mock function with given fields:
func (*Application) MakeHash ¶
func (_m *Application) MakeHash() hash.Hash
MakeHash provides a mock function with given fields:
func (*Application) MakeLang ¶
func (_m *Application) MakeLang(ctx context.Context) translation.Translator
MakeLang provides a mock function with given fields: ctx
func (*Application) MakeLog ¶
func (_m *Application) MakeLog() log.Log
MakeLog provides a mock function with given fields:
func (*Application) MakeMail ¶
func (_m *Application) MakeMail() mail.Mail
MakeMail provides a mock function with given fields:
func (*Application) MakeOrm ¶
func (_m *Application) MakeOrm() orm.Orm
MakeOrm provides a mock function with given fields:
func (*Application) MakeQueue ¶
func (_m *Application) MakeQueue() queue.Queue
MakeQueue provides a mock function with given fields:
func (*Application) MakeRateLimiter ¶
func (_m *Application) MakeRateLimiter() http.RateLimiter
MakeRateLimiter provides a mock function with given fields:
func (*Application) MakeRoute ¶
func (_m *Application) MakeRoute() route.Route
MakeRoute provides a mock function with given fields:
func (*Application) MakeSchedule ¶
func (_m *Application) MakeSchedule() schedule.Schedule
MakeSchedule provides a mock function with given fields:
func (*Application) MakeSeeder ¶
func (_m *Application) MakeSeeder() seeder.Facade
MakeSeeder provides a mock function with given fields:
func (*Application) MakeSession ¶
func (_m *Application) MakeSession() session.Manager
MakeSession provides a mock function with given fields:
func (*Application) MakeStorage ¶
func (_m *Application) MakeStorage() filesystem.Storage
MakeStorage provides a mock function with given fields:
func (*Application) MakeTesting ¶
func (_m *Application) MakeTesting() testing.Testing
MakeTesting provides a mock function with given fields:
func (*Application) MakeValidation ¶
func (_m *Application) MakeValidation() validation.Validation
MakeValidation provides a mock function with given fields:
func (*Application) MakeView ¶
func (_m *Application) MakeView() http.View
MakeView provides a mock function with given fields:
func (*Application) MakeWith ¶
func (_m *Application) MakeWith(key interface{}, parameters map[string]interface{}) (interface{}, error)
MakeWith provides a mock function with given fields: key, parameters
func (*Application) Path ¶
func (_m *Application) Path(path string) string
Path provides a mock function with given fields: path
func (*Application) PublicPath ¶
func (_m *Application) PublicPath(path string) string
PublicPath provides a mock function with given fields: path
func (*Application) Publishes ¶
func (_m *Application) Publishes(packageName string, paths map[string]string, groups ...string)
Publishes provides a mock function with given fields: packageName, paths, groups
func (*Application) SetJson ¶
func (_m *Application) SetJson(json foundation.Json)
SetJson provides a mock function with given fields: json
func (*Application) Singleton ¶
func (_m *Application) Singleton(key interface{}, callback func(foundation.Application) (interface{}, error))
Singleton provides a mock function with given fields: key, callback
func (*Application) StoragePath ¶
func (_m *Application) StoragePath(path string) string
StoragePath provides a mock function with given fields: path
func (*Application) Version ¶
func (_m *Application) Version() string
Version provides a mock function with given fields:
type Application_BasePath_Call ¶
Application_BasePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BasePath'
func (*Application_BasePath_Call) Return ¶
func (_c *Application_BasePath_Call) Return(_a0 string) *Application_BasePath_Call
func (*Application_BasePath_Call) Run ¶
func (_c *Application_BasePath_Call) Run(run func(path string)) *Application_BasePath_Call
func (*Application_BasePath_Call) RunAndReturn ¶
func (_c *Application_BasePath_Call) RunAndReturn(run func(string) string) *Application_BasePath_Call
type Application_BindWith_Call ¶
Application_BindWith_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BindWith'
func (*Application_BindWith_Call) Return ¶
func (_c *Application_BindWith_Call) Return() *Application_BindWith_Call
func (*Application_BindWith_Call) Run ¶
func (_c *Application_BindWith_Call) Run(run func(key interface{}, callback func(foundation.Application, map[string]interface{}) (interface{}, error))) *Application_BindWith_Call
func (*Application_BindWith_Call) RunAndReturn ¶
func (_c *Application_BindWith_Call) RunAndReturn(run func(interface{}, func(foundation.Application, map[string]interface{}) (interface{}, error))) *Application_BindWith_Call
type Application_Bind_Call ¶
Application_Bind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bind'
func (*Application_Bind_Call) Return ¶
func (_c *Application_Bind_Call) Return() *Application_Bind_Call
func (*Application_Bind_Call) Run ¶
func (_c *Application_Bind_Call) Run(run func(key interface{}, callback func(foundation.Application) (interface{}, error))) *Application_Bind_Call
func (*Application_Bind_Call) RunAndReturn ¶
func (_c *Application_Bind_Call) RunAndReturn(run func(interface{}, func(foundation.Application) (interface{}, error))) *Application_Bind_Call
type Application_Boot_Call ¶
Application_Boot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Boot'
func (*Application_Boot_Call) Return ¶
func (_c *Application_Boot_Call) Return() *Application_Boot_Call
func (*Application_Boot_Call) Run ¶
func (_c *Application_Boot_Call) Run(run func()) *Application_Boot_Call
func (*Application_Boot_Call) RunAndReturn ¶
func (_c *Application_Boot_Call) RunAndReturn(run func()) *Application_Boot_Call
type Application_Commands_Call ¶
Application_Commands_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Commands'
func (*Application_Commands_Call) Return ¶
func (_c *Application_Commands_Call) Return() *Application_Commands_Call
func (*Application_Commands_Call) Run ¶
func (_c *Application_Commands_Call) Run(run func(_a0 []console.Command)) *Application_Commands_Call
func (*Application_Commands_Call) RunAndReturn ¶
func (_c *Application_Commands_Call) RunAndReturn(run func([]console.Command)) *Application_Commands_Call
type Application_ConfigPath_Call ¶
Application_ConfigPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConfigPath'
func (*Application_ConfigPath_Call) Return ¶
func (_c *Application_ConfigPath_Call) Return(_a0 string) *Application_ConfigPath_Call
func (*Application_ConfigPath_Call) Run ¶
func (_c *Application_ConfigPath_Call) Run(run func(path string)) *Application_ConfigPath_Call
func (*Application_ConfigPath_Call) RunAndReturn ¶
func (_c *Application_ConfigPath_Call) RunAndReturn(run func(string) string) *Application_ConfigPath_Call
type Application_CurrentLocale_Call ¶
Application_CurrentLocale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentLocale'
func (*Application_CurrentLocale_Call) Return ¶
func (_c *Application_CurrentLocale_Call) Return(_a0 string) *Application_CurrentLocale_Call
func (*Application_CurrentLocale_Call) Run ¶
func (_c *Application_CurrentLocale_Call) Run(run func(ctx context.Context)) *Application_CurrentLocale_Call
func (*Application_CurrentLocale_Call) RunAndReturn ¶
func (_c *Application_CurrentLocale_Call) RunAndReturn(run func(context.Context) string) *Application_CurrentLocale_Call
type Application_DatabasePath_Call ¶
Application_DatabasePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DatabasePath'
func (*Application_DatabasePath_Call) Return ¶
func (_c *Application_DatabasePath_Call) Return(_a0 string) *Application_DatabasePath_Call
func (*Application_DatabasePath_Call) Run ¶
func (_c *Application_DatabasePath_Call) Run(run func(path string)) *Application_DatabasePath_Call
func (*Application_DatabasePath_Call) RunAndReturn ¶
func (_c *Application_DatabasePath_Call) RunAndReturn(run func(string) string) *Application_DatabasePath_Call
type Application_ExecutablePath_Call ¶
Application_ExecutablePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecutablePath'
func (*Application_ExecutablePath_Call) Return ¶
func (_c *Application_ExecutablePath_Call) Return(_a0 string, _a1 error) *Application_ExecutablePath_Call
func (*Application_ExecutablePath_Call) Run ¶
func (_c *Application_ExecutablePath_Call) Run(run func()) *Application_ExecutablePath_Call
func (*Application_ExecutablePath_Call) RunAndReturn ¶
func (_c *Application_ExecutablePath_Call) RunAndReturn(run func() (string, error)) *Application_ExecutablePath_Call
type Application_Expecter ¶
type Application_Expecter struct {
// contains filtered or unexported fields
}
func (*Application_Expecter) BasePath ¶
func (_e *Application_Expecter) BasePath(path interface{}) *Application_BasePath_Call
BasePath is a helper method to define mock.On call
- path string
func (*Application_Expecter) Bind ¶
func (_e *Application_Expecter) Bind(key interface{}, callback interface{}) *Application_Bind_Call
Bind is a helper method to define mock.On call
- key interface{}
- callback func(foundation.Application)(interface{} , error)
func (*Application_Expecter) BindWith ¶
func (_e *Application_Expecter) BindWith(key interface{}, callback interface{}) *Application_BindWith_Call
BindWith is a helper method to define mock.On call
- key interface{}
- callback func(foundation.Application , map[string]interface{})(interface{} , error)
func (*Application_Expecter) Boot ¶
func (_e *Application_Expecter) Boot() *Application_Boot_Call
Boot is a helper method to define mock.On call
func (*Application_Expecter) Commands ¶
func (_e *Application_Expecter) Commands(_a0 interface{}) *Application_Commands_Call
Commands is a helper method to define mock.On call
- _a0 []console.Command
func (*Application_Expecter) ConfigPath ¶
func (_e *Application_Expecter) ConfigPath(path interface{}) *Application_ConfigPath_Call
ConfigPath is a helper method to define mock.On call
- path string
func (*Application_Expecter) CurrentLocale ¶
func (_e *Application_Expecter) CurrentLocale(ctx interface{}) *Application_CurrentLocale_Call
CurrentLocale is a helper method to define mock.On call
- ctx context.Context
func (*Application_Expecter) DatabasePath ¶
func (_e *Application_Expecter) DatabasePath(path interface{}) *Application_DatabasePath_Call
DatabasePath is a helper method to define mock.On call
- path string
func (*Application_Expecter) ExecutablePath ¶
func (_e *Application_Expecter) ExecutablePath() *Application_ExecutablePath_Call
ExecutablePath is a helper method to define mock.On call
func (*Application_Expecter) GetJson ¶
func (_e *Application_Expecter) GetJson() *Application_GetJson_Call
GetJson is a helper method to define mock.On call
func (*Application_Expecter) Instance ¶
func (_e *Application_Expecter) Instance(key interface{}, instance interface{}) *Application_Instance_Call
Instance is a helper method to define mock.On call
- key interface{}
- instance interface{}
func (*Application_Expecter) IsLocale ¶
func (_e *Application_Expecter) IsLocale(ctx interface{}, locale interface{}) *Application_IsLocale_Call
IsLocale is a helper method to define mock.On call
- ctx context.Context
- locale string
func (*Application_Expecter) LangPath ¶
func (_e *Application_Expecter) LangPath(path interface{}) *Application_LangPath_Call
LangPath is a helper method to define mock.On call
- path string
func (*Application_Expecter) Make ¶
func (_e *Application_Expecter) Make(key interface{}) *Application_Make_Call
Make is a helper method to define mock.On call
- key interface{}
func (*Application_Expecter) MakeArtisan ¶
func (_e *Application_Expecter) MakeArtisan() *Application_MakeArtisan_Call
MakeArtisan is a helper method to define mock.On call
func (*Application_Expecter) MakeAuth ¶
func (_e *Application_Expecter) MakeAuth(ctx interface{}) *Application_MakeAuth_Call
MakeAuth is a helper method to define mock.On call
- ctx http.Context
func (*Application_Expecter) MakeCache ¶
func (_e *Application_Expecter) MakeCache() *Application_MakeCache_Call
MakeCache is a helper method to define mock.On call
func (*Application_Expecter) MakeConfig ¶
func (_e *Application_Expecter) MakeConfig() *Application_MakeConfig_Call
MakeConfig is a helper method to define mock.On call
func (*Application_Expecter) MakeCrypt ¶
func (_e *Application_Expecter) MakeCrypt() *Application_MakeCrypt_Call
MakeCrypt is a helper method to define mock.On call
func (*Application_Expecter) MakeEvent ¶
func (_e *Application_Expecter) MakeEvent() *Application_MakeEvent_Call
MakeEvent is a helper method to define mock.On call
func (*Application_Expecter) MakeGate ¶
func (_e *Application_Expecter) MakeGate() *Application_MakeGate_Call
MakeGate is a helper method to define mock.On call
func (*Application_Expecter) MakeGrpc ¶
func (_e *Application_Expecter) MakeGrpc() *Application_MakeGrpc_Call
MakeGrpc is a helper method to define mock.On call
func (*Application_Expecter) MakeHash ¶
func (_e *Application_Expecter) MakeHash() *Application_MakeHash_Call
MakeHash is a helper method to define mock.On call
func (*Application_Expecter) MakeLang ¶
func (_e *Application_Expecter) MakeLang(ctx interface{}) *Application_MakeLang_Call
MakeLang is a helper method to define mock.On call
- ctx context.Context
func (*Application_Expecter) MakeLog ¶
func (_e *Application_Expecter) MakeLog() *Application_MakeLog_Call
MakeLog is a helper method to define mock.On call
func (*Application_Expecter) MakeMail ¶
func (_e *Application_Expecter) MakeMail() *Application_MakeMail_Call
MakeMail is a helper method to define mock.On call
func (*Application_Expecter) MakeOrm ¶
func (_e *Application_Expecter) MakeOrm() *Application_MakeOrm_Call
MakeOrm is a helper method to define mock.On call
func (*Application_Expecter) MakeQueue ¶
func (_e *Application_Expecter) MakeQueue() *Application_MakeQueue_Call
MakeQueue is a helper method to define mock.On call
func (*Application_Expecter) MakeRateLimiter ¶
func (_e *Application_Expecter) MakeRateLimiter() *Application_MakeRateLimiter_Call
MakeRateLimiter is a helper method to define mock.On call
func (*Application_Expecter) MakeRoute ¶
func (_e *Application_Expecter) MakeRoute() *Application_MakeRoute_Call
MakeRoute is a helper method to define mock.On call
func (*Application_Expecter) MakeSchedule ¶
func (_e *Application_Expecter) MakeSchedule() *Application_MakeSchedule_Call
MakeSchedule is a helper method to define mock.On call
func (*Application_Expecter) MakeSeeder ¶
func (_e *Application_Expecter) MakeSeeder() *Application_MakeSeeder_Call
MakeSeeder is a helper method to define mock.On call
func (*Application_Expecter) MakeSession ¶
func (_e *Application_Expecter) MakeSession() *Application_MakeSession_Call
MakeSession is a helper method to define mock.On call
func (*Application_Expecter) MakeStorage ¶
func (_e *Application_Expecter) MakeStorage() *Application_MakeStorage_Call
MakeStorage is a helper method to define mock.On call
func (*Application_Expecter) MakeTesting ¶
func (_e *Application_Expecter) MakeTesting() *Application_MakeTesting_Call
MakeTesting is a helper method to define mock.On call
func (*Application_Expecter) MakeValidation ¶
func (_e *Application_Expecter) MakeValidation() *Application_MakeValidation_Call
MakeValidation is a helper method to define mock.On call
func (*Application_Expecter) MakeView ¶
func (_e *Application_Expecter) MakeView() *Application_MakeView_Call
MakeView is a helper method to define mock.On call
func (*Application_Expecter) MakeWith ¶
func (_e *Application_Expecter) MakeWith(key interface{}, parameters interface{}) *Application_MakeWith_Call
MakeWith is a helper method to define mock.On call
- key interface{}
- parameters map[string]interface{}
func (*Application_Expecter) Path ¶
func (_e *Application_Expecter) Path(path interface{}) *Application_Path_Call
Path is a helper method to define mock.On call
- path string
func (*Application_Expecter) PublicPath ¶
func (_e *Application_Expecter) PublicPath(path interface{}) *Application_PublicPath_Call
PublicPath is a helper method to define mock.On call
- path string
func (*Application_Expecter) Publishes ¶
func (_e *Application_Expecter) Publishes(packageName interface{}, paths interface{}, groups ...interface{}) *Application_Publishes_Call
Publishes is a helper method to define mock.On call
- packageName string
- paths map[string]string
- groups ...string
func (*Application_Expecter) SetJson ¶
func (_e *Application_Expecter) SetJson(json interface{}) *Application_SetJson_Call
SetJson is a helper method to define mock.On call
- json foundation.Json
func (*Application_Expecter) SetLocale ¶
func (_e *Application_Expecter) SetLocale(ctx interface{}, locale interface{}) *Application_SetLocale_Call
SetLocale is a helper method to define mock.On call
- ctx context.Context
- locale string
func (*Application_Expecter) Singleton ¶
func (_e *Application_Expecter) Singleton(key interface{}, callback interface{}) *Application_Singleton_Call
Singleton is a helper method to define mock.On call
- key interface{}
- callback func(foundation.Application)(interface{} , error)
func (*Application_Expecter) StoragePath ¶
func (_e *Application_Expecter) StoragePath(path interface{}) *Application_StoragePath_Call
StoragePath is a helper method to define mock.On call
- path string
func (*Application_Expecter) Version ¶
func (_e *Application_Expecter) Version() *Application_Version_Call
Version is a helper method to define mock.On call
type Application_GetJson_Call ¶
Application_GetJson_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetJson'
func (*Application_GetJson_Call) Return ¶
func (_c *Application_GetJson_Call) Return(_a0 foundation.Json) *Application_GetJson_Call
func (*Application_GetJson_Call) Run ¶
func (_c *Application_GetJson_Call) Run(run func()) *Application_GetJson_Call
func (*Application_GetJson_Call) RunAndReturn ¶
func (_c *Application_GetJson_Call) RunAndReturn(run func() foundation.Json) *Application_GetJson_Call
type Application_Instance_Call ¶
Application_Instance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Instance'
func (*Application_Instance_Call) Return ¶
func (_c *Application_Instance_Call) Return() *Application_Instance_Call
func (*Application_Instance_Call) Run ¶
func (_c *Application_Instance_Call) Run(run func(key interface{}, instance interface{})) *Application_Instance_Call
func (*Application_Instance_Call) RunAndReturn ¶
func (_c *Application_Instance_Call) RunAndReturn(run func(interface{}, interface{})) *Application_Instance_Call
type Application_IsLocale_Call ¶
Application_IsLocale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsLocale'
func (*Application_IsLocale_Call) Return ¶
func (_c *Application_IsLocale_Call) Return(_a0 bool) *Application_IsLocale_Call
func (*Application_IsLocale_Call) Run ¶
func (_c *Application_IsLocale_Call) Run(run func(ctx context.Context, locale string)) *Application_IsLocale_Call
func (*Application_IsLocale_Call) RunAndReturn ¶
func (_c *Application_IsLocale_Call) RunAndReturn(run func(context.Context, string) bool) *Application_IsLocale_Call
type Application_LangPath_Call ¶
Application_LangPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LangPath'
func (*Application_LangPath_Call) Return ¶
func (_c *Application_LangPath_Call) Return(_a0 string) *Application_LangPath_Call
func (*Application_LangPath_Call) Run ¶
func (_c *Application_LangPath_Call) Run(run func(path string)) *Application_LangPath_Call
func (*Application_LangPath_Call) RunAndReturn ¶
func (_c *Application_LangPath_Call) RunAndReturn(run func(string) string) *Application_LangPath_Call
type Application_MakeArtisan_Call ¶
Application_MakeArtisan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeArtisan'
func (*Application_MakeArtisan_Call) Return ¶
func (_c *Application_MakeArtisan_Call) Return(_a0 console.Artisan) *Application_MakeArtisan_Call
func (*Application_MakeArtisan_Call) Run ¶
func (_c *Application_MakeArtisan_Call) Run(run func()) *Application_MakeArtisan_Call
func (*Application_MakeArtisan_Call) RunAndReturn ¶
func (_c *Application_MakeArtisan_Call) RunAndReturn(run func() console.Artisan) *Application_MakeArtisan_Call
type Application_MakeAuth_Call ¶
Application_MakeAuth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeAuth'
func (*Application_MakeAuth_Call) Return ¶
func (_c *Application_MakeAuth_Call) Return(_a0 auth.Auth) *Application_MakeAuth_Call
func (*Application_MakeAuth_Call) Run ¶
func (_c *Application_MakeAuth_Call) Run(run func(ctx http.Context)) *Application_MakeAuth_Call
func (*Application_MakeAuth_Call) RunAndReturn ¶
func (_c *Application_MakeAuth_Call) RunAndReturn(run func(http.Context) auth.Auth) *Application_MakeAuth_Call
type Application_MakeCache_Call ¶
Application_MakeCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeCache'
func (*Application_MakeCache_Call) Return ¶
func (_c *Application_MakeCache_Call) Return(_a0 cache.Cache) *Application_MakeCache_Call
func (*Application_MakeCache_Call) Run ¶
func (_c *Application_MakeCache_Call) Run(run func()) *Application_MakeCache_Call
func (*Application_MakeCache_Call) RunAndReturn ¶
func (_c *Application_MakeCache_Call) RunAndReturn(run func() cache.Cache) *Application_MakeCache_Call
type Application_MakeConfig_Call ¶
Application_MakeConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeConfig'
func (*Application_MakeConfig_Call) Return ¶
func (_c *Application_MakeConfig_Call) Return(_a0 config.Config) *Application_MakeConfig_Call
func (*Application_MakeConfig_Call) Run ¶
func (_c *Application_MakeConfig_Call) Run(run func()) *Application_MakeConfig_Call
func (*Application_MakeConfig_Call) RunAndReturn ¶
func (_c *Application_MakeConfig_Call) RunAndReturn(run func() config.Config) *Application_MakeConfig_Call
type Application_MakeCrypt_Call ¶
Application_MakeCrypt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeCrypt'
func (*Application_MakeCrypt_Call) Return ¶
func (_c *Application_MakeCrypt_Call) Return(_a0 crypt.Crypt) *Application_MakeCrypt_Call
func (*Application_MakeCrypt_Call) Run ¶
func (_c *Application_MakeCrypt_Call) Run(run func()) *Application_MakeCrypt_Call
func (*Application_MakeCrypt_Call) RunAndReturn ¶
func (_c *Application_MakeCrypt_Call) RunAndReturn(run func() crypt.Crypt) *Application_MakeCrypt_Call
type Application_MakeEvent_Call ¶
Application_MakeEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeEvent'
func (*Application_MakeEvent_Call) Return ¶
func (_c *Application_MakeEvent_Call) Return(_a0 event.Instance) *Application_MakeEvent_Call
func (*Application_MakeEvent_Call) Run ¶
func (_c *Application_MakeEvent_Call) Run(run func()) *Application_MakeEvent_Call
func (*Application_MakeEvent_Call) RunAndReturn ¶
func (_c *Application_MakeEvent_Call) RunAndReturn(run func() event.Instance) *Application_MakeEvent_Call
type Application_MakeGate_Call ¶
Application_MakeGate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeGate'
func (*Application_MakeGate_Call) Return ¶
func (_c *Application_MakeGate_Call) Return(_a0 access.Gate) *Application_MakeGate_Call
func (*Application_MakeGate_Call) Run ¶
func (_c *Application_MakeGate_Call) Run(run func()) *Application_MakeGate_Call
func (*Application_MakeGate_Call) RunAndReturn ¶
func (_c *Application_MakeGate_Call) RunAndReturn(run func() access.Gate) *Application_MakeGate_Call
type Application_MakeGrpc_Call ¶
Application_MakeGrpc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeGrpc'
func (*Application_MakeGrpc_Call) Return ¶
func (_c *Application_MakeGrpc_Call) Return(_a0 grpc.Grpc) *Application_MakeGrpc_Call
func (*Application_MakeGrpc_Call) Run ¶
func (_c *Application_MakeGrpc_Call) Run(run func()) *Application_MakeGrpc_Call
func (*Application_MakeGrpc_Call) RunAndReturn ¶
func (_c *Application_MakeGrpc_Call) RunAndReturn(run func() grpc.Grpc) *Application_MakeGrpc_Call
type Application_MakeHash_Call ¶
Application_MakeHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeHash'
func (*Application_MakeHash_Call) Return ¶
func (_c *Application_MakeHash_Call) Return(_a0 hash.Hash) *Application_MakeHash_Call
func (*Application_MakeHash_Call) Run ¶
func (_c *Application_MakeHash_Call) Run(run func()) *Application_MakeHash_Call
func (*Application_MakeHash_Call) RunAndReturn ¶
func (_c *Application_MakeHash_Call) RunAndReturn(run func() hash.Hash) *Application_MakeHash_Call
type Application_MakeLang_Call ¶
Application_MakeLang_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeLang'
func (*Application_MakeLang_Call) Return ¶
func (_c *Application_MakeLang_Call) Return(_a0 translation.Translator) *Application_MakeLang_Call
func (*Application_MakeLang_Call) Run ¶
func (_c *Application_MakeLang_Call) Run(run func(ctx context.Context)) *Application_MakeLang_Call
func (*Application_MakeLang_Call) RunAndReturn ¶
func (_c *Application_MakeLang_Call) RunAndReturn(run func(context.Context) translation.Translator) *Application_MakeLang_Call
type Application_MakeLog_Call ¶
Application_MakeLog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeLog'
func (*Application_MakeLog_Call) Return ¶
func (_c *Application_MakeLog_Call) Return(_a0 log.Log) *Application_MakeLog_Call
func (*Application_MakeLog_Call) Run ¶
func (_c *Application_MakeLog_Call) Run(run func()) *Application_MakeLog_Call
func (*Application_MakeLog_Call) RunAndReturn ¶
func (_c *Application_MakeLog_Call) RunAndReturn(run func() log.Log) *Application_MakeLog_Call
type Application_MakeMail_Call ¶
Application_MakeMail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeMail'
func (*Application_MakeMail_Call) Return ¶
func (_c *Application_MakeMail_Call) Return(_a0 mail.Mail) *Application_MakeMail_Call
func (*Application_MakeMail_Call) Run ¶
func (_c *Application_MakeMail_Call) Run(run func()) *Application_MakeMail_Call
func (*Application_MakeMail_Call) RunAndReturn ¶
func (_c *Application_MakeMail_Call) RunAndReturn(run func() mail.Mail) *Application_MakeMail_Call
type Application_MakeOrm_Call ¶
Application_MakeOrm_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeOrm'
func (*Application_MakeOrm_Call) Return ¶
func (_c *Application_MakeOrm_Call) Return(_a0 orm.Orm) *Application_MakeOrm_Call
func (*Application_MakeOrm_Call) Run ¶
func (_c *Application_MakeOrm_Call) Run(run func()) *Application_MakeOrm_Call
func (*Application_MakeOrm_Call) RunAndReturn ¶
func (_c *Application_MakeOrm_Call) RunAndReturn(run func() orm.Orm) *Application_MakeOrm_Call
type Application_MakeQueue_Call ¶
Application_MakeQueue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeQueue'
func (*Application_MakeQueue_Call) Return ¶
func (_c *Application_MakeQueue_Call) Return(_a0 queue.Queue) *Application_MakeQueue_Call
func (*Application_MakeQueue_Call) Run ¶
func (_c *Application_MakeQueue_Call) Run(run func()) *Application_MakeQueue_Call
func (*Application_MakeQueue_Call) RunAndReturn ¶
func (_c *Application_MakeQueue_Call) RunAndReturn(run func() queue.Queue) *Application_MakeQueue_Call
type Application_MakeRateLimiter_Call ¶
Application_MakeRateLimiter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeRateLimiter'
func (*Application_MakeRateLimiter_Call) Return ¶
func (_c *Application_MakeRateLimiter_Call) Return(_a0 http.RateLimiter) *Application_MakeRateLimiter_Call
func (*Application_MakeRateLimiter_Call) Run ¶
func (_c *Application_MakeRateLimiter_Call) Run(run func()) *Application_MakeRateLimiter_Call
func (*Application_MakeRateLimiter_Call) RunAndReturn ¶
func (_c *Application_MakeRateLimiter_Call) RunAndReturn(run func() http.RateLimiter) *Application_MakeRateLimiter_Call
type Application_MakeRoute_Call ¶
Application_MakeRoute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeRoute'
func (*Application_MakeRoute_Call) Return ¶
func (_c *Application_MakeRoute_Call) Return(_a0 route.Route) *Application_MakeRoute_Call
func (*Application_MakeRoute_Call) Run ¶
func (_c *Application_MakeRoute_Call) Run(run func()) *Application_MakeRoute_Call
func (*Application_MakeRoute_Call) RunAndReturn ¶
func (_c *Application_MakeRoute_Call) RunAndReturn(run func() route.Route) *Application_MakeRoute_Call
type Application_MakeSchedule_Call ¶
Application_MakeSchedule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeSchedule'
func (*Application_MakeSchedule_Call) Return ¶
func (_c *Application_MakeSchedule_Call) Return(_a0 schedule.Schedule) *Application_MakeSchedule_Call
func (*Application_MakeSchedule_Call) Run ¶
func (_c *Application_MakeSchedule_Call) Run(run func()) *Application_MakeSchedule_Call
func (*Application_MakeSchedule_Call) RunAndReturn ¶
func (_c *Application_MakeSchedule_Call) RunAndReturn(run func() schedule.Schedule) *Application_MakeSchedule_Call
type Application_MakeSeeder_Call ¶
Application_MakeSeeder_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeSeeder'
func (*Application_MakeSeeder_Call) Return ¶
func (_c *Application_MakeSeeder_Call) Return(_a0 seeder.Facade) *Application_MakeSeeder_Call
func (*Application_MakeSeeder_Call) Run ¶
func (_c *Application_MakeSeeder_Call) Run(run func()) *Application_MakeSeeder_Call
func (*Application_MakeSeeder_Call) RunAndReturn ¶
func (_c *Application_MakeSeeder_Call) RunAndReturn(run func() seeder.Facade) *Application_MakeSeeder_Call
type Application_MakeSession_Call ¶
Application_MakeSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeSession'
func (*Application_MakeSession_Call) Return ¶
func (_c *Application_MakeSession_Call) Return(_a0 session.Manager) *Application_MakeSession_Call
func (*Application_MakeSession_Call) Run ¶
func (_c *Application_MakeSession_Call) Run(run func()) *Application_MakeSession_Call
func (*Application_MakeSession_Call) RunAndReturn ¶
func (_c *Application_MakeSession_Call) RunAndReturn(run func() session.Manager) *Application_MakeSession_Call
type Application_MakeStorage_Call ¶
Application_MakeStorage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeStorage'
func (*Application_MakeStorage_Call) Return ¶
func (_c *Application_MakeStorage_Call) Return(_a0 filesystem.Storage) *Application_MakeStorage_Call
func (*Application_MakeStorage_Call) Run ¶
func (_c *Application_MakeStorage_Call) Run(run func()) *Application_MakeStorage_Call
func (*Application_MakeStorage_Call) RunAndReturn ¶
func (_c *Application_MakeStorage_Call) RunAndReturn(run func() filesystem.Storage) *Application_MakeStorage_Call
type Application_MakeTesting_Call ¶
Application_MakeTesting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeTesting'
func (*Application_MakeTesting_Call) Return ¶
func (_c *Application_MakeTesting_Call) Return(_a0 testing.Testing) *Application_MakeTesting_Call
func (*Application_MakeTesting_Call) Run ¶
func (_c *Application_MakeTesting_Call) Run(run func()) *Application_MakeTesting_Call
func (*Application_MakeTesting_Call) RunAndReturn ¶
func (_c *Application_MakeTesting_Call) RunAndReturn(run func() testing.Testing) *Application_MakeTesting_Call
type Application_MakeValidation_Call ¶
Application_MakeValidation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeValidation'
func (*Application_MakeValidation_Call) Return ¶
func (_c *Application_MakeValidation_Call) Return(_a0 validation.Validation) *Application_MakeValidation_Call
func (*Application_MakeValidation_Call) Run ¶
func (_c *Application_MakeValidation_Call) Run(run func()) *Application_MakeValidation_Call
func (*Application_MakeValidation_Call) RunAndReturn ¶
func (_c *Application_MakeValidation_Call) RunAndReturn(run func() validation.Validation) *Application_MakeValidation_Call
type Application_MakeView_Call ¶
Application_MakeView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeView'
func (*Application_MakeView_Call) Return ¶
func (_c *Application_MakeView_Call) Return(_a0 http.View) *Application_MakeView_Call
func (*Application_MakeView_Call) Run ¶
func (_c *Application_MakeView_Call) Run(run func()) *Application_MakeView_Call
func (*Application_MakeView_Call) RunAndReturn ¶
func (_c *Application_MakeView_Call) RunAndReturn(run func() http.View) *Application_MakeView_Call
type Application_MakeWith_Call ¶
Application_MakeWith_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeWith'
func (*Application_MakeWith_Call) Return ¶
func (_c *Application_MakeWith_Call) Return(_a0 interface{}, _a1 error) *Application_MakeWith_Call
func (*Application_MakeWith_Call) Run ¶
func (_c *Application_MakeWith_Call) Run(run func(key interface{}, parameters map[string]interface{})) *Application_MakeWith_Call
func (*Application_MakeWith_Call) RunAndReturn ¶
func (_c *Application_MakeWith_Call) RunAndReturn(run func(interface{}, map[string]interface{}) (interface{}, error)) *Application_MakeWith_Call
type Application_Make_Call ¶
Application_Make_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Make'
func (*Application_Make_Call) Return ¶
func (_c *Application_Make_Call) Return(_a0 interface{}, _a1 error) *Application_Make_Call
func (*Application_Make_Call) Run ¶
func (_c *Application_Make_Call) Run(run func(key interface{})) *Application_Make_Call
func (*Application_Make_Call) RunAndReturn ¶
func (_c *Application_Make_Call) RunAndReturn(run func(interface{}) (interface{}, error)) *Application_Make_Call
type Application_Path_Call ¶
Application_Path_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Path'
func (*Application_Path_Call) Return ¶
func (_c *Application_Path_Call) Return(_a0 string) *Application_Path_Call
func (*Application_Path_Call) Run ¶
func (_c *Application_Path_Call) Run(run func(path string)) *Application_Path_Call
func (*Application_Path_Call) RunAndReturn ¶
func (_c *Application_Path_Call) RunAndReturn(run func(string) string) *Application_Path_Call
type Application_PublicPath_Call ¶
Application_PublicPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PublicPath'
func (*Application_PublicPath_Call) Return ¶
func (_c *Application_PublicPath_Call) Return(_a0 string) *Application_PublicPath_Call
func (*Application_PublicPath_Call) Run ¶
func (_c *Application_PublicPath_Call) Run(run func(path string)) *Application_PublicPath_Call
func (*Application_PublicPath_Call) RunAndReturn ¶
func (_c *Application_PublicPath_Call) RunAndReturn(run func(string) string) *Application_PublicPath_Call
type Application_Publishes_Call ¶
Application_Publishes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Publishes'
func (*Application_Publishes_Call) Return ¶
func (_c *Application_Publishes_Call) Return() *Application_Publishes_Call
func (*Application_Publishes_Call) Run ¶
func (_c *Application_Publishes_Call) Run(run func(packageName string, paths map[string]string, groups ...string)) *Application_Publishes_Call
func (*Application_Publishes_Call) RunAndReturn ¶
func (_c *Application_Publishes_Call) RunAndReturn(run func(string, map[string]string, ...string)) *Application_Publishes_Call
type Application_SetJson_Call ¶
Application_SetJson_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetJson'
func (*Application_SetJson_Call) Return ¶
func (_c *Application_SetJson_Call) Return() *Application_SetJson_Call
func (*Application_SetJson_Call) Run ¶
func (_c *Application_SetJson_Call) Run(run func(json foundation.Json)) *Application_SetJson_Call
func (*Application_SetJson_Call) RunAndReturn ¶
func (_c *Application_SetJson_Call) RunAndReturn(run func(foundation.Json)) *Application_SetJson_Call
type Application_SetLocale_Call ¶
Application_SetLocale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLocale'
func (*Application_SetLocale_Call) Return ¶
func (_c *Application_SetLocale_Call) Return(_a0 context.Context) *Application_SetLocale_Call
func (*Application_SetLocale_Call) Run ¶
func (_c *Application_SetLocale_Call) Run(run func(ctx context.Context, locale string)) *Application_SetLocale_Call
func (*Application_SetLocale_Call) RunAndReturn ¶
func (_c *Application_SetLocale_Call) RunAndReturn(run func(context.Context, string) context.Context) *Application_SetLocale_Call
type Application_Singleton_Call ¶
Application_Singleton_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Singleton'
func (*Application_Singleton_Call) Return ¶
func (_c *Application_Singleton_Call) Return() *Application_Singleton_Call
func (*Application_Singleton_Call) Run ¶
func (_c *Application_Singleton_Call) Run(run func(key interface{}, callback func(foundation.Application) (interface{}, error))) *Application_Singleton_Call
func (*Application_Singleton_Call) RunAndReturn ¶
func (_c *Application_Singleton_Call) RunAndReturn(run func(interface{}, func(foundation.Application) (interface{}, error))) *Application_Singleton_Call
type Application_StoragePath_Call ¶
Application_StoragePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoragePath'
func (*Application_StoragePath_Call) Return ¶
func (_c *Application_StoragePath_Call) Return(_a0 string) *Application_StoragePath_Call
func (*Application_StoragePath_Call) Run ¶
func (_c *Application_StoragePath_Call) Run(run func(path string)) *Application_StoragePath_Call
func (*Application_StoragePath_Call) RunAndReturn ¶
func (_c *Application_StoragePath_Call) RunAndReturn(run func(string) string) *Application_StoragePath_Call
type Application_Version_Call ¶
Application_Version_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Version'
func (*Application_Version_Call) Return ¶
func (_c *Application_Version_Call) Return(_a0 string) *Application_Version_Call
func (*Application_Version_Call) Run ¶
func (_c *Application_Version_Call) Run(run func()) *Application_Version_Call
func (*Application_Version_Call) RunAndReturn ¶
func (_c *Application_Version_Call) RunAndReturn(run func() string) *Application_Version_Call
type Container ¶
Container is an autogenerated mock type for the Container type
func NewContainer ¶
NewContainer creates a new instance of Container. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Container) Bind ¶
func (_m *Container) Bind(key interface{}, callback func(foundation.Application) (interface{}, error))
Bind provides a mock function with given fields: key, callback
func (*Container) BindWith ¶
func (_m *Container) BindWith(key interface{}, callback func(foundation.Application, map[string]interface{}) (interface{}, error))
BindWith provides a mock function with given fields: key, callback
func (*Container) EXPECT ¶
func (_m *Container) EXPECT() *Container_Expecter
func (*Container) Instance ¶
func (_m *Container) Instance(key interface{}, instance interface{})
Instance provides a mock function with given fields: key, instance
func (*Container) MakeArtisan ¶
MakeArtisan provides a mock function with given fields:
func (*Container) MakeConfig ¶
MakeConfig provides a mock function with given fields:
func (*Container) MakeLang ¶
func (_m *Container) MakeLang(ctx context.Context) translation.Translator
MakeLang provides a mock function with given fields: ctx
func (*Container) MakeRateLimiter ¶
func (_m *Container) MakeRateLimiter() http.RateLimiter
MakeRateLimiter provides a mock function with given fields:
func (*Container) MakeSchedule ¶
MakeSchedule provides a mock function with given fields:
func (*Container) MakeSeeder ¶
MakeSeeder provides a mock function with given fields:
func (*Container) MakeSession ¶
MakeSession provides a mock function with given fields:
func (*Container) MakeStorage ¶
func (_m *Container) MakeStorage() filesystem.Storage
MakeStorage provides a mock function with given fields:
func (*Container) MakeTesting ¶
MakeTesting provides a mock function with given fields:
func (*Container) MakeValidation ¶
func (_m *Container) MakeValidation() validation.Validation
MakeValidation provides a mock function with given fields:
func (*Container) MakeWith ¶
func (_m *Container) MakeWith(key interface{}, parameters map[string]interface{}) (interface{}, error)
MakeWith provides a mock function with given fields: key, parameters
func (*Container) Singleton ¶
func (_m *Container) Singleton(key interface{}, callback func(foundation.Application) (interface{}, error))
Singleton provides a mock function with given fields: key, callback
type Container_BindWith_Call ¶
Container_BindWith_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BindWith'
func (*Container_BindWith_Call) Return ¶
func (_c *Container_BindWith_Call) Return() *Container_BindWith_Call
func (*Container_BindWith_Call) Run ¶
func (_c *Container_BindWith_Call) Run(run func(key interface{}, callback func(foundation.Application, map[string]interface{}) (interface{}, error))) *Container_BindWith_Call
func (*Container_BindWith_Call) RunAndReturn ¶
func (_c *Container_BindWith_Call) RunAndReturn(run func(interface{}, func(foundation.Application, map[string]interface{}) (interface{}, error))) *Container_BindWith_Call
type Container_Bind_Call ¶
Container_Bind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bind'
func (*Container_Bind_Call) Return ¶
func (_c *Container_Bind_Call) Return() *Container_Bind_Call
func (*Container_Bind_Call) Run ¶
func (_c *Container_Bind_Call) Run(run func(key interface{}, callback func(foundation.Application) (interface{}, error))) *Container_Bind_Call
func (*Container_Bind_Call) RunAndReturn ¶
func (_c *Container_Bind_Call) RunAndReturn(run func(interface{}, func(foundation.Application) (interface{}, error))) *Container_Bind_Call
type Container_Expecter ¶
type Container_Expecter struct {
// contains filtered or unexported fields
}
func (*Container_Expecter) Bind ¶
func (_e *Container_Expecter) Bind(key interface{}, callback interface{}) *Container_Bind_Call
Bind is a helper method to define mock.On call
- key interface{}
- callback func(foundation.Application)(interface{} , error)
func (*Container_Expecter) BindWith ¶
func (_e *Container_Expecter) BindWith(key interface{}, callback interface{}) *Container_BindWith_Call
BindWith is a helper method to define mock.On call
- key interface{}
- callback func(foundation.Application , map[string]interface{})(interface{} , error)
func (*Container_Expecter) Instance ¶
func (_e *Container_Expecter) Instance(key interface{}, instance interface{}) *Container_Instance_Call
Instance is a helper method to define mock.On call
- key interface{}
- instance interface{}
func (*Container_Expecter) Make ¶
func (_e *Container_Expecter) Make(key interface{}) *Container_Make_Call
Make is a helper method to define mock.On call
- key interface{}
func (*Container_Expecter) MakeArtisan ¶
func (_e *Container_Expecter) MakeArtisan() *Container_MakeArtisan_Call
MakeArtisan is a helper method to define mock.On call
func (*Container_Expecter) MakeAuth ¶
func (_e *Container_Expecter) MakeAuth(ctx interface{}) *Container_MakeAuth_Call
MakeAuth is a helper method to define mock.On call
- ctx http.Context
func (*Container_Expecter) MakeCache ¶
func (_e *Container_Expecter) MakeCache() *Container_MakeCache_Call
MakeCache is a helper method to define mock.On call
func (*Container_Expecter) MakeConfig ¶
func (_e *Container_Expecter) MakeConfig() *Container_MakeConfig_Call
MakeConfig is a helper method to define mock.On call
func (*Container_Expecter) MakeCrypt ¶
func (_e *Container_Expecter) MakeCrypt() *Container_MakeCrypt_Call
MakeCrypt is a helper method to define mock.On call
func (*Container_Expecter) MakeEvent ¶
func (_e *Container_Expecter) MakeEvent() *Container_MakeEvent_Call
MakeEvent is a helper method to define mock.On call
func (*Container_Expecter) MakeGate ¶
func (_e *Container_Expecter) MakeGate() *Container_MakeGate_Call
MakeGate is a helper method to define mock.On call
func (*Container_Expecter) MakeGrpc ¶
func (_e *Container_Expecter) MakeGrpc() *Container_MakeGrpc_Call
MakeGrpc is a helper method to define mock.On call
func (*Container_Expecter) MakeHash ¶
func (_e *Container_Expecter) MakeHash() *Container_MakeHash_Call
MakeHash is a helper method to define mock.On call
func (*Container_Expecter) MakeLang ¶
func (_e *Container_Expecter) MakeLang(ctx interface{}) *Container_MakeLang_Call
MakeLang is a helper method to define mock.On call
- ctx context.Context
func (*Container_Expecter) MakeLog ¶
func (_e *Container_Expecter) MakeLog() *Container_MakeLog_Call
MakeLog is a helper method to define mock.On call
func (*Container_Expecter) MakeMail ¶
func (_e *Container_Expecter) MakeMail() *Container_MakeMail_Call
MakeMail is a helper method to define mock.On call
func (*Container_Expecter) MakeOrm ¶
func (_e *Container_Expecter) MakeOrm() *Container_MakeOrm_Call
MakeOrm is a helper method to define mock.On call
func (*Container_Expecter) MakeQueue ¶
func (_e *Container_Expecter) MakeQueue() *Container_MakeQueue_Call
MakeQueue is a helper method to define mock.On call
func (*Container_Expecter) MakeRateLimiter ¶
func (_e *Container_Expecter) MakeRateLimiter() *Container_MakeRateLimiter_Call
MakeRateLimiter is a helper method to define mock.On call
func (*Container_Expecter) MakeRoute ¶
func (_e *Container_Expecter) MakeRoute() *Container_MakeRoute_Call
MakeRoute is a helper method to define mock.On call
func (*Container_Expecter) MakeSchedule ¶
func (_e *Container_Expecter) MakeSchedule() *Container_MakeSchedule_Call
MakeSchedule is a helper method to define mock.On call
func (*Container_Expecter) MakeSeeder ¶
func (_e *Container_Expecter) MakeSeeder() *Container_MakeSeeder_Call
MakeSeeder is a helper method to define mock.On call
func (*Container_Expecter) MakeSession ¶
func (_e *Container_Expecter) MakeSession() *Container_MakeSession_Call
MakeSession is a helper method to define mock.On call
func (*Container_Expecter) MakeStorage ¶
func (_e *Container_Expecter) MakeStorage() *Container_MakeStorage_Call
MakeStorage is a helper method to define mock.On call
func (*Container_Expecter) MakeTesting ¶
func (_e *Container_Expecter) MakeTesting() *Container_MakeTesting_Call
MakeTesting is a helper method to define mock.On call
func (*Container_Expecter) MakeValidation ¶
func (_e *Container_Expecter) MakeValidation() *Container_MakeValidation_Call
MakeValidation is a helper method to define mock.On call
func (*Container_Expecter) MakeView ¶
func (_e *Container_Expecter) MakeView() *Container_MakeView_Call
MakeView is a helper method to define mock.On call
func (*Container_Expecter) MakeWith ¶
func (_e *Container_Expecter) MakeWith(key interface{}, parameters interface{}) *Container_MakeWith_Call
MakeWith is a helper method to define mock.On call
- key interface{}
- parameters map[string]interface{}
func (*Container_Expecter) Singleton ¶
func (_e *Container_Expecter) Singleton(key interface{}, callback interface{}) *Container_Singleton_Call
Singleton is a helper method to define mock.On call
- key interface{}
- callback func(foundation.Application)(interface{} , error)
type Container_Instance_Call ¶
Container_Instance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Instance'
func (*Container_Instance_Call) Return ¶
func (_c *Container_Instance_Call) Return() *Container_Instance_Call
func (*Container_Instance_Call) Run ¶
func (_c *Container_Instance_Call) Run(run func(key interface{}, instance interface{})) *Container_Instance_Call
func (*Container_Instance_Call) RunAndReturn ¶
func (_c *Container_Instance_Call) RunAndReturn(run func(interface{}, interface{})) *Container_Instance_Call
type Container_MakeArtisan_Call ¶
Container_MakeArtisan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeArtisan'
func (*Container_MakeArtisan_Call) Return ¶
func (_c *Container_MakeArtisan_Call) Return(_a0 console.Artisan) *Container_MakeArtisan_Call
func (*Container_MakeArtisan_Call) Run ¶
func (_c *Container_MakeArtisan_Call) Run(run func()) *Container_MakeArtisan_Call
func (*Container_MakeArtisan_Call) RunAndReturn ¶
func (_c *Container_MakeArtisan_Call) RunAndReturn(run func() console.Artisan) *Container_MakeArtisan_Call
type Container_MakeAuth_Call ¶
Container_MakeAuth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeAuth'
func (*Container_MakeAuth_Call) Return ¶
func (_c *Container_MakeAuth_Call) Return(_a0 auth.Auth) *Container_MakeAuth_Call
func (*Container_MakeAuth_Call) Run ¶
func (_c *Container_MakeAuth_Call) Run(run func(ctx http.Context)) *Container_MakeAuth_Call
func (*Container_MakeAuth_Call) RunAndReturn ¶
func (_c *Container_MakeAuth_Call) RunAndReturn(run func(http.Context) auth.Auth) *Container_MakeAuth_Call
type Container_MakeCache_Call ¶
Container_MakeCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeCache'
func (*Container_MakeCache_Call) Return ¶
func (_c *Container_MakeCache_Call) Return(_a0 cache.Cache) *Container_MakeCache_Call
func (*Container_MakeCache_Call) Run ¶
func (_c *Container_MakeCache_Call) Run(run func()) *Container_MakeCache_Call
func (*Container_MakeCache_Call) RunAndReturn ¶
func (_c *Container_MakeCache_Call) RunAndReturn(run func() cache.Cache) *Container_MakeCache_Call
type Container_MakeConfig_Call ¶
Container_MakeConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeConfig'
func (*Container_MakeConfig_Call) Return ¶
func (_c *Container_MakeConfig_Call) Return(_a0 config.Config) *Container_MakeConfig_Call
func (*Container_MakeConfig_Call) Run ¶
func (_c *Container_MakeConfig_Call) Run(run func()) *Container_MakeConfig_Call
func (*Container_MakeConfig_Call) RunAndReturn ¶
func (_c *Container_MakeConfig_Call) RunAndReturn(run func() config.Config) *Container_MakeConfig_Call
type Container_MakeCrypt_Call ¶
Container_MakeCrypt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeCrypt'
func (*Container_MakeCrypt_Call) Return ¶
func (_c *Container_MakeCrypt_Call) Return(_a0 crypt.Crypt) *Container_MakeCrypt_Call
func (*Container_MakeCrypt_Call) Run ¶
func (_c *Container_MakeCrypt_Call) Run(run func()) *Container_MakeCrypt_Call
func (*Container_MakeCrypt_Call) RunAndReturn ¶
func (_c *Container_MakeCrypt_Call) RunAndReturn(run func() crypt.Crypt) *Container_MakeCrypt_Call
type Container_MakeEvent_Call ¶
Container_MakeEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeEvent'
func (*Container_MakeEvent_Call) Return ¶
func (_c *Container_MakeEvent_Call) Return(_a0 event.Instance) *Container_MakeEvent_Call
func (*Container_MakeEvent_Call) Run ¶
func (_c *Container_MakeEvent_Call) Run(run func()) *Container_MakeEvent_Call
func (*Container_MakeEvent_Call) RunAndReturn ¶
func (_c *Container_MakeEvent_Call) RunAndReturn(run func() event.Instance) *Container_MakeEvent_Call
type Container_MakeGate_Call ¶
Container_MakeGate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeGate'
func (*Container_MakeGate_Call) Return ¶
func (_c *Container_MakeGate_Call) Return(_a0 access.Gate) *Container_MakeGate_Call
func (*Container_MakeGate_Call) Run ¶
func (_c *Container_MakeGate_Call) Run(run func()) *Container_MakeGate_Call
func (*Container_MakeGate_Call) RunAndReturn ¶
func (_c *Container_MakeGate_Call) RunAndReturn(run func() access.Gate) *Container_MakeGate_Call
type Container_MakeGrpc_Call ¶
Container_MakeGrpc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeGrpc'
func (*Container_MakeGrpc_Call) Return ¶
func (_c *Container_MakeGrpc_Call) Return(_a0 grpc.Grpc) *Container_MakeGrpc_Call
func (*Container_MakeGrpc_Call) Run ¶
func (_c *Container_MakeGrpc_Call) Run(run func()) *Container_MakeGrpc_Call
func (*Container_MakeGrpc_Call) RunAndReturn ¶
func (_c *Container_MakeGrpc_Call) RunAndReturn(run func() grpc.Grpc) *Container_MakeGrpc_Call
type Container_MakeHash_Call ¶
Container_MakeHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeHash'
func (*Container_MakeHash_Call) Return ¶
func (_c *Container_MakeHash_Call) Return(_a0 hash.Hash) *Container_MakeHash_Call
func (*Container_MakeHash_Call) Run ¶
func (_c *Container_MakeHash_Call) Run(run func()) *Container_MakeHash_Call
func (*Container_MakeHash_Call) RunAndReturn ¶
func (_c *Container_MakeHash_Call) RunAndReturn(run func() hash.Hash) *Container_MakeHash_Call
type Container_MakeLang_Call ¶
Container_MakeLang_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeLang'
func (*Container_MakeLang_Call) Return ¶
func (_c *Container_MakeLang_Call) Return(_a0 translation.Translator) *Container_MakeLang_Call
func (*Container_MakeLang_Call) Run ¶
func (_c *Container_MakeLang_Call) Run(run func(ctx context.Context)) *Container_MakeLang_Call
func (*Container_MakeLang_Call) RunAndReturn ¶
func (_c *Container_MakeLang_Call) RunAndReturn(run func(context.Context) translation.Translator) *Container_MakeLang_Call
type Container_MakeLog_Call ¶
Container_MakeLog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeLog'
func (*Container_MakeLog_Call) Return ¶
func (_c *Container_MakeLog_Call) Return(_a0 log.Log) *Container_MakeLog_Call
func (*Container_MakeLog_Call) Run ¶
func (_c *Container_MakeLog_Call) Run(run func()) *Container_MakeLog_Call
func (*Container_MakeLog_Call) RunAndReturn ¶
func (_c *Container_MakeLog_Call) RunAndReturn(run func() log.Log) *Container_MakeLog_Call
type Container_MakeMail_Call ¶
Container_MakeMail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeMail'
func (*Container_MakeMail_Call) Return ¶
func (_c *Container_MakeMail_Call) Return(_a0 mail.Mail) *Container_MakeMail_Call
func (*Container_MakeMail_Call) Run ¶
func (_c *Container_MakeMail_Call) Run(run func()) *Container_MakeMail_Call
func (*Container_MakeMail_Call) RunAndReturn ¶
func (_c *Container_MakeMail_Call) RunAndReturn(run func() mail.Mail) *Container_MakeMail_Call
type Container_MakeOrm_Call ¶
Container_MakeOrm_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeOrm'
func (*Container_MakeOrm_Call) Return ¶
func (_c *Container_MakeOrm_Call) Return(_a0 orm.Orm) *Container_MakeOrm_Call
func (*Container_MakeOrm_Call) Run ¶
func (_c *Container_MakeOrm_Call) Run(run func()) *Container_MakeOrm_Call
func (*Container_MakeOrm_Call) RunAndReturn ¶
func (_c *Container_MakeOrm_Call) RunAndReturn(run func() orm.Orm) *Container_MakeOrm_Call
type Container_MakeQueue_Call ¶
Container_MakeQueue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeQueue'
func (*Container_MakeQueue_Call) Return ¶
func (_c *Container_MakeQueue_Call) Return(_a0 queue.Queue) *Container_MakeQueue_Call
func (*Container_MakeQueue_Call) Run ¶
func (_c *Container_MakeQueue_Call) Run(run func()) *Container_MakeQueue_Call
func (*Container_MakeQueue_Call) RunAndReturn ¶
func (_c *Container_MakeQueue_Call) RunAndReturn(run func() queue.Queue) *Container_MakeQueue_Call
type Container_MakeRateLimiter_Call ¶
Container_MakeRateLimiter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeRateLimiter'
func (*Container_MakeRateLimiter_Call) Return ¶
func (_c *Container_MakeRateLimiter_Call) Return(_a0 http.RateLimiter) *Container_MakeRateLimiter_Call
func (*Container_MakeRateLimiter_Call) Run ¶
func (_c *Container_MakeRateLimiter_Call) Run(run func()) *Container_MakeRateLimiter_Call
func (*Container_MakeRateLimiter_Call) RunAndReturn ¶
func (_c *Container_MakeRateLimiter_Call) RunAndReturn(run func() http.RateLimiter) *Container_MakeRateLimiter_Call
type Container_MakeRoute_Call ¶
Container_MakeRoute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeRoute'
func (*Container_MakeRoute_Call) Return ¶
func (_c *Container_MakeRoute_Call) Return(_a0 route.Route) *Container_MakeRoute_Call
func (*Container_MakeRoute_Call) Run ¶
func (_c *Container_MakeRoute_Call) Run(run func()) *Container_MakeRoute_Call
func (*Container_MakeRoute_Call) RunAndReturn ¶
func (_c *Container_MakeRoute_Call) RunAndReturn(run func() route.Route) *Container_MakeRoute_Call
type Container_MakeSchedule_Call ¶
Container_MakeSchedule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeSchedule'
func (*Container_MakeSchedule_Call) Return ¶
func (_c *Container_MakeSchedule_Call) Return(_a0 schedule.Schedule) *Container_MakeSchedule_Call
func (*Container_MakeSchedule_Call) Run ¶
func (_c *Container_MakeSchedule_Call) Run(run func()) *Container_MakeSchedule_Call
func (*Container_MakeSchedule_Call) RunAndReturn ¶
func (_c *Container_MakeSchedule_Call) RunAndReturn(run func() schedule.Schedule) *Container_MakeSchedule_Call
type Container_MakeSeeder_Call ¶
Container_MakeSeeder_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeSeeder'
func (*Container_MakeSeeder_Call) Return ¶
func (_c *Container_MakeSeeder_Call) Return(_a0 seeder.Facade) *Container_MakeSeeder_Call
func (*Container_MakeSeeder_Call) Run ¶
func (_c *Container_MakeSeeder_Call) Run(run func()) *Container_MakeSeeder_Call
func (*Container_MakeSeeder_Call) RunAndReturn ¶
func (_c *Container_MakeSeeder_Call) RunAndReturn(run func() seeder.Facade) *Container_MakeSeeder_Call
type Container_MakeSession_Call ¶
Container_MakeSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeSession'
func (*Container_MakeSession_Call) Return ¶
func (_c *Container_MakeSession_Call) Return(_a0 session.Manager) *Container_MakeSession_Call
func (*Container_MakeSession_Call) Run ¶
func (_c *Container_MakeSession_Call) Run(run func()) *Container_MakeSession_Call
func (*Container_MakeSession_Call) RunAndReturn ¶
func (_c *Container_MakeSession_Call) RunAndReturn(run func() session.Manager) *Container_MakeSession_Call
type Container_MakeStorage_Call ¶
Container_MakeStorage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeStorage'
func (*Container_MakeStorage_Call) Return ¶
func (_c *Container_MakeStorage_Call) Return(_a0 filesystem.Storage) *Container_MakeStorage_Call
func (*Container_MakeStorage_Call) Run ¶
func (_c *Container_MakeStorage_Call) Run(run func()) *Container_MakeStorage_Call
func (*Container_MakeStorage_Call) RunAndReturn ¶
func (_c *Container_MakeStorage_Call) RunAndReturn(run func() filesystem.Storage) *Container_MakeStorage_Call
type Container_MakeTesting_Call ¶
Container_MakeTesting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeTesting'
func (*Container_MakeTesting_Call) Return ¶
func (_c *Container_MakeTesting_Call) Return(_a0 testing.Testing) *Container_MakeTesting_Call
func (*Container_MakeTesting_Call) Run ¶
func (_c *Container_MakeTesting_Call) Run(run func()) *Container_MakeTesting_Call
func (*Container_MakeTesting_Call) RunAndReturn ¶
func (_c *Container_MakeTesting_Call) RunAndReturn(run func() testing.Testing) *Container_MakeTesting_Call
type Container_MakeValidation_Call ¶
Container_MakeValidation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeValidation'
func (*Container_MakeValidation_Call) Return ¶
func (_c *Container_MakeValidation_Call) Return(_a0 validation.Validation) *Container_MakeValidation_Call
func (*Container_MakeValidation_Call) Run ¶
func (_c *Container_MakeValidation_Call) Run(run func()) *Container_MakeValidation_Call
func (*Container_MakeValidation_Call) RunAndReturn ¶
func (_c *Container_MakeValidation_Call) RunAndReturn(run func() validation.Validation) *Container_MakeValidation_Call
type Container_MakeView_Call ¶
Container_MakeView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeView'
func (*Container_MakeView_Call) Return ¶
func (_c *Container_MakeView_Call) Return(_a0 http.View) *Container_MakeView_Call
func (*Container_MakeView_Call) Run ¶
func (_c *Container_MakeView_Call) Run(run func()) *Container_MakeView_Call
func (*Container_MakeView_Call) RunAndReturn ¶
func (_c *Container_MakeView_Call) RunAndReturn(run func() http.View) *Container_MakeView_Call
type Container_MakeWith_Call ¶
Container_MakeWith_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeWith'
func (*Container_MakeWith_Call) Return ¶
func (_c *Container_MakeWith_Call) Return(_a0 interface{}, _a1 error) *Container_MakeWith_Call
func (*Container_MakeWith_Call) Run ¶
func (_c *Container_MakeWith_Call) Run(run func(key interface{}, parameters map[string]interface{})) *Container_MakeWith_Call
func (*Container_MakeWith_Call) RunAndReturn ¶
func (_c *Container_MakeWith_Call) RunAndReturn(run func(interface{}, map[string]interface{}) (interface{}, error)) *Container_MakeWith_Call
type Container_Make_Call ¶
Container_Make_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Make'
func (*Container_Make_Call) Return ¶
func (_c *Container_Make_Call) Return(_a0 interface{}, _a1 error) *Container_Make_Call
func (*Container_Make_Call) Run ¶
func (_c *Container_Make_Call) Run(run func(key interface{})) *Container_Make_Call
func (*Container_Make_Call) RunAndReturn ¶
func (_c *Container_Make_Call) RunAndReturn(run func(interface{}) (interface{}, error)) *Container_Make_Call
type Container_Singleton_Call ¶
Container_Singleton_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Singleton'
func (*Container_Singleton_Call) Return ¶
func (_c *Container_Singleton_Call) Return() *Container_Singleton_Call
func (*Container_Singleton_Call) Run ¶
func (_c *Container_Singleton_Call) Run(run func(key interface{}, callback func(foundation.Application) (interface{}, error))) *Container_Singleton_Call
func (*Container_Singleton_Call) RunAndReturn ¶
func (_c *Container_Singleton_Call) RunAndReturn(run func(interface{}, func(foundation.Application) (interface{}, error))) *Container_Singleton_Call
type Json ¶
Json is an autogenerated mock type for the Json type
func NewJson ¶
NewJson creates a new instance of Json. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Json) EXPECT ¶
func (_m *Json) EXPECT() *Json_Expecter
type Json_Expecter ¶
type Json_Expecter struct {
// contains filtered or unexported fields
}
func (*Json_Expecter) Marshal ¶
func (_e *Json_Expecter) Marshal(_a0 interface{}) *Json_Marshal_Call
Marshal is a helper method to define mock.On call
- _a0 interface{}
func (*Json_Expecter) Unmarshal ¶
func (_e *Json_Expecter) Unmarshal(_a0 interface{}, _a1 interface{}) *Json_Unmarshal_Call
Unmarshal is a helper method to define mock.On call
- _a0 []byte
- _a1 interface{}
type Json_Marshal_Call ¶
Json_Marshal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Marshal'
func (*Json_Marshal_Call) Return ¶
func (_c *Json_Marshal_Call) Return(_a0 []byte, _a1 error) *Json_Marshal_Call
func (*Json_Marshal_Call) Run ¶
func (_c *Json_Marshal_Call) Run(run func(_a0 interface{})) *Json_Marshal_Call
func (*Json_Marshal_Call) RunAndReturn ¶
func (_c *Json_Marshal_Call) RunAndReturn(run func(interface{}) ([]byte, error)) *Json_Marshal_Call
type Json_Unmarshal_Call ¶
Json_Unmarshal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unmarshal'
func (*Json_Unmarshal_Call) Return ¶
func (_c *Json_Unmarshal_Call) Return(_a0 error) *Json_Unmarshal_Call
func (*Json_Unmarshal_Call) Run ¶
func (_c *Json_Unmarshal_Call) Run(run func(_a0 []byte, _a1 interface{})) *Json_Unmarshal_Call
func (*Json_Unmarshal_Call) RunAndReturn ¶
func (_c *Json_Unmarshal_Call) RunAndReturn(run func([]byte, interface{}) error) *Json_Unmarshal_Call
type ServiceProvider ¶
ServiceProvider is an autogenerated mock type for the ServiceProvider type
func NewServiceProvider ¶
func NewServiceProvider(t interface {
mock.TestingT
Cleanup(func())
}) *ServiceProvider
NewServiceProvider creates a new instance of ServiceProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ServiceProvider) Boot ¶
func (_m *ServiceProvider) Boot(app foundation.Application)
Boot provides a mock function with given fields: app
func (*ServiceProvider) EXPECT ¶
func (_m *ServiceProvider) EXPECT() *ServiceProvider_Expecter
func (*ServiceProvider) Register ¶
func (_m *ServiceProvider) Register(app foundation.Application)
Register provides a mock function with given fields: app
type ServiceProvider_Boot_Call ¶
ServiceProvider_Boot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Boot'
func (*ServiceProvider_Boot_Call) Return ¶
func (_c *ServiceProvider_Boot_Call) Return() *ServiceProvider_Boot_Call
func (*ServiceProvider_Boot_Call) Run ¶
func (_c *ServiceProvider_Boot_Call) Run(run func(app foundation.Application)) *ServiceProvider_Boot_Call
func (*ServiceProvider_Boot_Call) RunAndReturn ¶
func (_c *ServiceProvider_Boot_Call) RunAndReturn(run func(foundation.Application)) *ServiceProvider_Boot_Call
type ServiceProvider_Expecter ¶
type ServiceProvider_Expecter struct {
// contains filtered or unexported fields
}
func (*ServiceProvider_Expecter) Boot ¶
func (_e *ServiceProvider_Expecter) Boot(app interface{}) *ServiceProvider_Boot_Call
Boot is a helper method to define mock.On call
- app foundation.Application
func (*ServiceProvider_Expecter) Register ¶
func (_e *ServiceProvider_Expecter) Register(app interface{}) *ServiceProvider_Register_Call
Register is a helper method to define mock.On call
- app foundation.Application
type ServiceProvider_Register_Call ¶
ServiceProvider_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register'
func (*ServiceProvider_Register_Call) Return ¶
func (_c *ServiceProvider_Register_Call) Return() *ServiceProvider_Register_Call
func (*ServiceProvider_Register_Call) Run ¶
func (_c *ServiceProvider_Register_Call) Run(run func(app foundation.Application)) *ServiceProvider_Register_Call
func (*ServiceProvider_Register_Call) RunAndReturn ¶
func (_c *ServiceProvider_Register_Call) RunAndReturn(run func(foundation.Application)) *ServiceProvider_Register_Call