Documentation ¶
Index ¶
- func Configure(obj interface{}, file string, must bool, metaData ...interface{})
- func HandleBusMiddleware(worker Worker)
- func Logger() *golog.Logger
- func Prepare(f func(Initiator))
- func Prometheus() *internal.Prometheus
- func SetConfigurer(confer Configurer)
- type Application
- type BeforeActivation
- type Bus
- type BusHandler
- type Configuration
- type Configurer
- type Context
- type DomainEventInfra
- type Entity
- type GORMRepository
- type Infra
- type Initiator
- type QueryBuilder
- type Repository
- type Result
- type SingleBoot
- type Starter
- type UnitTest
- type Worker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleBusMiddleware ¶ added in v1.7.4
func HandleBusMiddleware(worker Worker)
Types ¶
type Application ¶
type Application interface { InstallGorm(f func() (db *gorm.DB)) InstallRedis(f func() (client redis.Cmdable)) InstallOther(f func() interface{}) 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) Start(f func(starter Starter)) InstallBusMiddleware(handle ...BusHandler) InstallSerializer(marshal func(v interface{}) ([]byte, error), unmarshal func(data []byte, v interface{}) error) }
Application .
type BeforeActivation ¶ added in v1.7.1
type BeforeActivation = mvc.BeforeActivation
type BusHandler ¶ added in v1.6.2
type BusHandler = internal.BusHandler
type Configuration ¶ added in v1.6.9
type Configuration = iris.Configuration
func DefaultConfiguration ¶ added in v1.6.9
func DefaultConfiguration() Configuration
type Configurer ¶ added in v1.6.9
type DomainEventInfra ¶ added in v1.3.7
type DomainEventInfra = internal.DomainEventInfra
type UnitTest ¶ added in v1.4.0
func NewUnitTest ¶ added in v1.4.0
func NewUnitTest() UnitTest
Directories ¶
Path | Synopsis |
---|---|
example
|
|
base/adapter/dto
Code generated by 'freedom new-project base'
|
Code generated by 'freedom new-project base' |
base/adapter/po
Code generated by 'freedom new-project base'
|
Code generated by 'freedom new-project base' |
base/adapter/repository
Code generated by 'freedom new-project base' Code generated by 'freedom new-project base'
|
Code generated by 'freedom new-project base' Code generated by 'freedom new-project base' |
base/domain
Code generated by 'freedom new-project base'
|
Code generated by 'freedom new-project base' |
base/infra
Code generated by 'freedom new-project base' Code generated by 'freedom new-project base' Code generated by 'freedom new-project base'
|
Code generated by 'freedom new-project base' Code generated by 'freedom new-project base' Code generated by 'freedom new-project base' |
base/server
Code generated by 'freedom new-project base'
|
Code generated by 'freedom new-project base' |
event-example/server
Code generated by 'freedom new-project event-example'
|
Code generated by 'freedom new-project event-example' |
fshop/adapter/po
Code generated by 'freedom new-po' Code generated by 'freedom new-po' Code generated by 'freedom new-po' Code generated by 'freedom new-po' Code generated by 'freedom new-po' Code generated by 'freedom new-po' Code generated by 'freedom new-project fshop' Code generated by 'freedom new-po'
|
Code generated by 'freedom new-po' Code generated by 'freedom new-po' Code generated by 'freedom new-po' Code generated by 'freedom new-po' Code generated by 'freedom new-po' Code generated by 'freedom new-po' Code generated by 'freedom new-project fshop' Code generated by 'freedom new-po' |
fshop/adapter/repository
Code generated by 'freedom new-po'
|
Code generated by 'freedom new-po' |
fshop/infra
Code generated by 'freedom new-project fshop' Code generated by 'freedom new-project fshop' Code generated by 'freedom new-project fshop'
|
Code generated by 'freedom new-project fshop' Code generated by 'freedom new-project fshop' Code generated by 'freedom new-project fshop' |
fshop/server
Code generated by 'freedom new-project fshop'
|
Code generated by 'freedom new-project fshop' |
http2/adapter/po
Code generated by 'freedom new-project http2'
|
Code generated by 'freedom new-project http2' |
http2/adapter/repositorys
Code generated by 'freedom new-project http2'
|
Code generated by 'freedom new-project http2' |
http2/server
Code generated by 'freedom new-project http2'
|
Code generated by 'freedom new-project http2' |
infra-example/adapter/dto
Code generated by 'freedom new-project infra-example'
|
Code generated by 'freedom new-project infra-example' |
infra-example/adapter/po
Code generated by 'freedom new-po' Code generated by 'freedom new-po' Code generated by 'freedom new-project infra-example'
|
Code generated by 'freedom new-po' Code generated by 'freedom new-po' Code generated by 'freedom new-project infra-example' |
infra-example/adapter/repository
Code generated by 'freedom new-po' Code generated by 'freedom new-project infra-example'
|
Code generated by 'freedom new-po' Code generated by 'freedom new-project infra-example' |
infra-example/infra
Code generated by 'freedom new-project infra-example' Code generated by 'freedom new-project infra-example' Code generated by 'freedom new-project infra-example'
|
Code generated by 'freedom new-project infra-example' Code generated by 'freedom new-project infra-example' Code generated by 'freedom new-project infra-example' |
infra-example/server
Code generated by 'freedom new-project infra-example'
|
Code generated by 'freedom new-project infra-example' |
infra-example/server/conf
Code generated by 'freedom new-project infra-example'
|
Code generated by 'freedom new-project infra-example' |
infra
|
|
Click to show internal directories.
Click to hide internal directories.