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) DatabasePath(path string) string
- func (_m *Application) Instance(key interface{}, instance interface{})
- func (_m *Application) Make(key interface{}) (interface{}, error)
- func (_m *Application) MakeArtisan() console.Artisan
- func (_m *Application) MakeAuth() 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) 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.Engine
- func (_m *Application) MakeSchedule() schedule.Schedule
- func (_m *Application) MakeStorage() filesystem.Storage
- func (_m *Application) MakeValidation() validation.Validation
- 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) Singleton(key interface{}, callback func(foundation.Application) (interface{}, error))
- func (_m *Application) StoragePath(path string) string
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 mockConstructorTestingTNewApplication) *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.
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) DatabasePath ¶
func (_m *Application) DatabasePath(path string) string
DatabasePath provides a mock function with given fields: path
func (*Application) Instance ¶
func (_m *Application) Instance(key interface{}, instance interface{})
Instance provides a mock function with given fields: key, instance
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() auth.Auth
MakeAuth provides a mock function with given fields:
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) 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.Engine
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) MakeStorage ¶
func (_m *Application) MakeStorage() filesystem.Storage
MakeStorage 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) 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) 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