Browse Source

En cours de développement

master
losyme 5 months ago
parent
commit
1137d88fa8
  1. 4
      go.mod
  2. 4
      go.sum
  3. 10
      internal/application/application.go

4
go.mod

@ -9,9 +9,9 @@ require (
forge.chapril.org/losyme/cmdline v0.0.0-20211216135554-ddf96d0c10e4
forge.chapril.org/losyme/config v0.0.0-20211214174243-67e8643fd980
forge.chapril.org/losyme/errors v0.0.0-20211213111152-79155957013e
forge.chapril.org/losyme/kong v0.0.0-20211216170731-bd7ee68a1c19
forge.chapril.org/losyme/kong v0.0.0-20211217171628-71c5c17b842d
forge.chapril.org/losyme/logger v0.0.0-20211213111305-bb9c37f139f1
forge.chapril.org/losyme/minikit v0.0.0-20211216163844-8a20ce7276be
forge.chapril.org/losyme/minikit v0.0.0-20211217173301-abde30539e63
forge.chapril.org/losyme/scheduler v0.0.0-20211213111323-d5ba0b9c2299
forge.chapril.org/losyme/util v0.0.0-20211214173723-6f04347bb2cd
forge.chapril.org/losyme/uuid v0.0.0-20211213111100-d614bb6d0825

4
go.sum

@ -18,12 +18,16 @@ forge.chapril.org/losyme/errors v0.0.0-20211213111152-79155957013e/go.mod h1:Gw3
forge.chapril.org/losyme/kong v0.0.0-20211216163507-6ce02b7c7961/go.mod h1:AEC1MI51qHobzM6CwOYASAq8uHnHEo0mkCeY2thXMec=
forge.chapril.org/losyme/kong v0.0.0-20211216170731-bd7ee68a1c19 h1:07opcWPZZzyEhRgziSLIr+A4csY0pXBl26o1H1UmXcs=
forge.chapril.org/losyme/kong v0.0.0-20211216170731-bd7ee68a1c19/go.mod h1:AEC1MI51qHobzM6CwOYASAq8uHnHEo0mkCeY2thXMec=
forge.chapril.org/losyme/kong v0.0.0-20211217171628-71c5c17b842d h1:Xt+nPU6qXoCeFpXvFi46rbwY+LDtNhQAzxtx9oruO9c=
forge.chapril.org/losyme/kong v0.0.0-20211217171628-71c5c17b842d/go.mod h1:AEC1MI51qHobzM6CwOYASAq8uHnHEo0mkCeY2thXMec=
forge.chapril.org/losyme/kvfmt v0.0.0-20211213111132-654025dfe9ec h1:xdWht4Lnz0fz3oUPGE8DikuRn7UH5rkdkBKJbWRfSDw=
forge.chapril.org/losyme/kvfmt v0.0.0-20211213111132-654025dfe9ec/go.mod h1:rmmXkeV+HX8gNdc6zg9H16DJgPopoom39pjmUPIc+B0=
forge.chapril.org/losyme/logger v0.0.0-20211213111305-bb9c37f139f1 h1:tZCKmlcvCd23SfCzXt+lL2qERSdeZgnIGawF7xq0xi0=
forge.chapril.org/losyme/logger v0.0.0-20211213111305-bb9c37f139f1/go.mod h1:XrfI+nPHD+GmeklR9fkbakKKutQa2Evtd/he80pj0sY=
forge.chapril.org/losyme/minikit v0.0.0-20211216163844-8a20ce7276be h1:m3OQOsblAop7ehhanPv3bq2VNQK7EegBRzhFIGU0iiY=
forge.chapril.org/losyme/minikit v0.0.0-20211216163844-8a20ce7276be/go.mod h1:qb15iZQ12xAXPULhKGFQfyeLeuVATjc4a9gDel1zCu0=
forge.chapril.org/losyme/minikit v0.0.0-20211217173301-abde30539e63 h1:5tnucu3f2XgwFhKgTIRhm08utrbr+NH9v7C5/8+sWig=
forge.chapril.org/losyme/minikit v0.0.0-20211217173301-abde30539e63/go.mod h1:D3ujLxRTzLy1poXqLFt68Vm87dkseco4qr2yllpMG80=
forge.chapril.org/losyme/roundrobin v0.0.0-20211213111056-95c0fe446b20/go.mod h1:0YIujnqdL+SQPIRlSzGMBeWpWc4Y44K8aI0x+N+Wydg=
forge.chapril.org/losyme/scheduler v0.0.0-20211213111323-d5ba0b9c2299 h1:HuXkUhnREtiRvj/ZaqLZONiVn97Mkk2NmI1S1/p69rk=
forge.chapril.org/losyme/scheduler v0.0.0-20211213111323-d5ba0b9c2299/go.mod h1:Wl2r/odKe0lZDF4rm0WzovF9IrsH9zU7hAm/oy9/N+g=

10
internal/application/application.go

@ -11,6 +11,7 @@ import (
"forge.chapril.org/losyme/application"
"forge.chapril.org/losyme/errors"
"forge.chapril.org/losyme/kong/context"
"forge.chapril.org/losyme/minikit"
"forge.chapril.org/dune/dune/internal/api"
@ -44,10 +45,11 @@ func New(name, version, builtAt string, args []string) *Application {
"scheduler",
"server",
},
CmdLineArgs: args,
CmdLineInit: app.initCmdLine,
ConfigInit: app.initConfig,
SchedulerCb: app.eventManager,
CmdLineArgs: args,
CmdLineInit: app.initCmdLine,
ConfigInit: app.initConfig,
RendererType: context.RendererTypeJSON,
SchedulerCb: app.eventManager,
})
app.minikit = kit

Loading…
Cancel
Save