Documentation ¶
Index ¶
- func Booting(f func(Initiator))
- func Configure(obj interface{}, fileName string, def bool)
- func Logger() *golog.Logger
- type Application
- type Context
- type DomainEventInfra
- type Entity
- type GORMRepository
- type Infra
- type Initiator
- type QueryBuilder
- type Repository
- type Result
- type Runtime
- type SingleBoot
- type UnitTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Application ¶
type Application interface { InstallGorm(f func() (db *gorm.DB)) InstallRedis(f func() (client redis.Cmdable)) InstallMiddleware(handler iris.Handler) InstallParty(relativePath string) CreateH2CRunner(addr string, configurators ...host.Configurator) iris.Runner CreateRunner(addr string, configurators ...host.Configurator) iris.Runner Iris() *iris.Application Logger() *golog.Logger Run(serve iris.Runner, c iris.Configuration) InstallDomainEventInfra(eventInfra DomainEventInfra) }
Application .
type DomainEventInfra ¶ added in v1.3.7
type DomainEventInfra = general.DomainEventInfra
Directories ¶
Path | Synopsis |
---|---|
example
|
|
infra-example/adapter/repositorys
Code generated by 'freedom new-crud'
|
Code generated by 'freedom new-crud' |
infra-example/application/objects
Code generated by 'freedom new-crud' Code generated by 'freedom new-crud'
|
Code generated by 'freedom new-crud' Code generated by 'freedom new-crud' |
infra
|
|
Click to show internal directories.
Click to hide internal directories.