Browse Source

En cours de développement

master
losyme 6 months ago
parent
commit
8a8aaba959
  1. 6
      go.mod
  2. 12
      go.sum
  3. 3
      internal/application/application.go

6
go.mod

@ -7,11 +7,11 @@ require (
forge.chapril.org/dune/sdk v0.0.0-20211126094413-f2c8d7cae712
forge.chapril.org/losyme/application v0.0.0-20211029102910-b7db6effc015
forge.chapril.org/losyme/cmdline v0.0.0-20211029192907-e6f74788c44f
forge.chapril.org/losyme/config v0.0.0-20211124132928-6e36812750b5
forge.chapril.org/losyme/config v0.0.0-20211203204434-cf0d27ba59a2
forge.chapril.org/losyme/errors v0.0.0-20211003204336-ad5510c24b40
forge.chapril.org/losyme/kong v0.0.0-20211124133008-c867a5726aae
forge.chapril.org/losyme/logger v0.0.0-20211119225711-ee831caaf5d4
forge.chapril.org/losyme/minikit v0.0.0-20211124133131-020a47b52022
forge.chapril.org/losyme/minikit v0.0.0-20211203205004-a8150a547675
forge.chapril.org/losyme/scheduler v0.0.0-20211003204604-f14dada88faf
forge.chapril.org/losyme/util v0.0.0-20211124132718-3fccea15a31b
forge.chapril.org/losyme/uuid v0.0.0-20211007082235-8d502169e034
@ -23,7 +23,7 @@ require (
forge.chapril.org/losyme/crypto v0.0.0-20211003213528-e97d4ebea720 // indirect
forge.chapril.org/losyme/kvfmt v0.0.0-20211003204256-34ac32764dae // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/mapstructure v1.4.2 // indirect
github.com/mitchellh/mapstructure v1.4.3 // indirect
github.com/robfig/cron/v3 v3.0.1 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)

12
go.sum

@ -8,8 +8,8 @@ forge.chapril.org/losyme/buffer v0.0.0-20211003203540-771701f5a518 h1:B7wu0DWUwp
forge.chapril.org/losyme/buffer v0.0.0-20211003203540-771701f5a518/go.mod h1:4Yl585hmF3bWZfuwGF2Ym8ErykJZiF9yawlmK7szIkc=
forge.chapril.org/losyme/cmdline v0.0.0-20211029192907-e6f74788c44f h1:7m6EpAj3iSvPiRd0mbrxwJ6TI0vMRRrp7M8PFq7AIXI=
forge.chapril.org/losyme/cmdline v0.0.0-20211029192907-e6f74788c44f/go.mod h1:NvAXbqc+LzdATB2GY72fvK4q2EtxxanmrNs03H7+Do4=
forge.chapril.org/losyme/config v0.0.0-20211124132928-6e36812750b5 h1:XWdCchgnZxRXf7je52XoH9+vLziNzHNP4gfmF7mkNhU=
forge.chapril.org/losyme/config v0.0.0-20211124132928-6e36812750b5/go.mod h1:d3vqLDElRxAwTeCSrlb4Dgcmodmb+bY1UXIsgOBJxJ4=
forge.chapril.org/losyme/config v0.0.0-20211203204434-cf0d27ba59a2 h1:DBH8UyYF402FZJIMkbWhdLwco4UnHOMoNaQEHArHf8A=
forge.chapril.org/losyme/config v0.0.0-20211203204434-cf0d27ba59a2/go.mod h1:rOIDZdgb02Cfc1zAkmUJykPCBrc9w9R8duXIgf2lIYo=
forge.chapril.org/losyme/crypto v0.0.0-20211003213528-e97d4ebea720 h1:tMwzjPmGvBb5/5Cx0OIPKqT9zMMR6gQn6398rwT0ghc=
forge.chapril.org/losyme/crypto v0.0.0-20211003213528-e97d4ebea720/go.mod h1:zSawWghP8cyqaQNOtKBAWGfAeR93uAyHMqpaXtZJsF8=
forge.chapril.org/losyme/errors v0.0.0-20211003204336-ad5510c24b40 h1:EoVVFHoIsWRlecHmXP4kx3ALchz5DAfNwso3gcl/Jbk=
@ -20,8 +20,8 @@ forge.chapril.org/losyme/kvfmt v0.0.0-20211003204256-34ac32764dae h1:RdYWXKy+OQN
forge.chapril.org/losyme/kvfmt v0.0.0-20211003204256-34ac32764dae/go.mod h1:wnVjwnCO2vFLLZ1EgFuFws1n8XLluufsGsdozGYSA7c=
forge.chapril.org/losyme/logger v0.0.0-20211119225711-ee831caaf5d4 h1:+5xllpRoYR2wNkBd5FSACEcf7ZSDk6Nm4Y/qFSCvISE=
forge.chapril.org/losyme/logger v0.0.0-20211119225711-ee831caaf5d4/go.mod h1:a3fN8yTjq5S/ramr03hIkutKM/35UsijUgRNKHjjlMU=
forge.chapril.org/losyme/minikit v0.0.0-20211124133131-020a47b52022 h1:AwRJtnKdlHScTvStN4jqbKfmxqkur7K8Q+OZovJh9QQ=
forge.chapril.org/losyme/minikit v0.0.0-20211124133131-020a47b52022/go.mod h1:f5zKGYxV8O3QYDqxlyIENHk1Y93SObrbUIWVNKK2SCg=
forge.chapril.org/losyme/minikit v0.0.0-20211203205004-a8150a547675 h1:sblwH+wJ8+YxapJSioFfRH8OkZoKEhK1+FTF4ek2A50=
forge.chapril.org/losyme/minikit v0.0.0-20211203205004-a8150a547675/go.mod h1:7aR/0oHoSGuK+N8H0wXc1d+c9Ryi/BN69VhVrasK0/I=
forge.chapril.org/losyme/scheduler v0.0.0-20211003204604-f14dada88faf h1:5OIlwVBTdvjCXh2JHAh5rq8FgSe1lXuuKDFtO/ZRaRM=
forge.chapril.org/losyme/scheduler v0.0.0-20211003204604-f14dada88faf/go.mod h1:VNjFKl0Q2vvLDnR9tdNdTIZDLQNlR+gcIGNf2aIYv3o=
forge.chapril.org/losyme/util v0.0.0-20211124132718-3fccea15a31b h1:5+j6/qkKuv383vxmROry6BgTbU5Fg3VbLaGaiaYew58=
@ -32,8 +32,8 @@ github.com/Showmax/go-fqdn v1.0.0 h1:0rG5IbmVliNT5O19Mfuvna9LL7zlHyRfsSvBPZmF9tM
github.com/Showmax/go-fqdn v1.0.0/go.mod h1:SfrFBzmDCtCGrnHhoDjuvFnKsWjEQX/Q9ARZvOrJAko=
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/mitchellh/mapstructure v1.4.2 h1:6h7AQ0yhTcIsmFmnAwQls75jp2Gzs4iB8W7pjMO+rqo=
github.com/mitchellh/mapstructure v1.4.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
github.com/mitchellh/mapstructure v1.4.3 h1:OVowDSCllw/YjdLkam3/sm7wEtOy59d8ndGgCcyj8cs=
github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs=
github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=

3
internal/application/application.go

@ -88,7 +88,7 @@ func (app *Application) Run() error {
return nil
},
func() { // atEnd................................................................................................
func() { // atEndiBefore........................................................................................
cs := app.components
<-cs.Scheduler.Stop().Done()
@ -97,6 +97,7 @@ func (app *Application) Run() error {
cs.Demo.Stop()
}
},
nil, // atEndAfter..............................................................................................
)
}

Loading…
Cancel
Save