En cours de développement

master
losyme 6 months ago
parent ebba729665
commit 1407f68bbf
  1. 12
      go.mod
  2. 24
      go.sum
  3. 9
      internal/application/application.go

@ -3,8 +3,8 @@ module forge.chapril.org/dune/dune
go 1.17
require (
forge.chapril.org/dune/jw v0.0.0-20220411164750-0291c24e873b
forge.chapril.org/dune/sdk v0.0.0-20220411171802-9ee601cc83aa
forge.chapril.org/dune/jw v0.0.0-20220412150144-a0b74c3f8e1f
forge.chapril.org/dune/sdk v0.0.0-20220412150159-4882bdc1cbdf
forge.chapril.org/losyme/application v0.0.0-20220412100129-090626760b10
forge.chapril.org/losyme/cmdline v0.0.0-20220412100430-dfc2ee3aa245
forge.chapril.org/losyme/config v0.0.0-20220410175352-ff6663549df1
@ -15,10 +15,10 @@ require (
forge.chapril.org/losyme/scheduler v0.0.0-20220410175530-16a93ef73cfb
forge.chapril.org/losyme/util v0.0.0-20220409171219-fbe160b317fd
forge.chapril.org/losyme/uuid v0.0.0-20220410175232-691303a2786a
forge.chapril.org/minikit/daemon v0.0.0-20220412103438-52bca71159a5
forge.chapril.org/minikit/kong v0.0.0-20220412103453-3690461555f5
forge.chapril.org/minikit/minikit v0.0.0-20220412103352-4f0f217bb77f
forge.chapril.org/minikit/scheduler v0.0.0-20220412103508-85768d104008
forge.chapril.org/minikit/daemon v0.0.0-20220412150040-5b2b61b31090
forge.chapril.org/minikit/kong v0.0.0-20220412150056-bb584e316cc3
forge.chapril.org/minikit/minikit v0.0.0-20220412150011-f3afc17fda68
forge.chapril.org/minikit/scheduler v0.0.0-20220412150113-e0db6e28f6eb
github.com/maragudk/gomponents v0.18.0
go.mongodb.org/mongo-driver v1.9.0
)

@ -1,7 +1,7 @@
forge.chapril.org/dune/jw v0.0.0-20220411164750-0291c24e873b h1:VzxWxzVlAOs8GuAC4t9zHVliGVTsIWVSNT0JePIA7Kc=
forge.chapril.org/dune/jw v0.0.0-20220411164750-0291c24e873b/go.mod h1:eyBPWS4xu8yjh9oqGaJah3kQe+0i/MssMQmnzke1Tf4=
forge.chapril.org/dune/sdk v0.0.0-20220411171802-9ee601cc83aa h1:KInNW/omzZiPr+0yqp/nkBCTf9DBIwtMl41UdKvHExo=
forge.chapril.org/dune/sdk v0.0.0-20220411171802-9ee601cc83aa/go.mod h1:tDrbn3ZULoK57QUzyZxjzJO+F4xtNWXzkZc6YhvmQO8=
forge.chapril.org/dune/jw v0.0.0-20220412150144-a0b74c3f8e1f h1:XueCRLrHONdELuR6Qi45KE/kbQJmBygga2+lKYZXHuc=
forge.chapril.org/dune/jw v0.0.0-20220412150144-a0b74c3f8e1f/go.mod h1:eyBPWS4xu8yjh9oqGaJah3kQe+0i/MssMQmnzke1Tf4=
forge.chapril.org/dune/sdk v0.0.0-20220412150159-4882bdc1cbdf h1:2QMZEDR3cPjJvZI0JqCfN7cVjsKDKgokaLhsw2c80lk=
forge.chapril.org/dune/sdk v0.0.0-20220412150159-4882bdc1cbdf/go.mod h1:G4hrGr0fgmh/sr09CGoM7/wx8IlRXdrU6FMU9qcqCVw=
forge.chapril.org/losyme/application v0.0.0-20220412100129-090626760b10 h1:BY6SYBMjA3lzOc8J+WXzIi8cLT9orHXPLjxhyRlDdVY=
forge.chapril.org/losyme/application v0.0.0-20220412100129-090626760b10/go.mod h1:UaM6o4pD9ldjOhR/JKF1hxGla8fT8VxvfAq5w6ANLro=
forge.chapril.org/losyme/breaker v0.0.0-20220411170549-42dd8e90d60f/go.mod h1:1vBH8Q+vML8EBZj1Pvcpzxx+eEBK+f24QzcXT5Bo+MY=
@ -35,14 +35,14 @@ forge.chapril.org/losyme/uuid v0.0.0-20220410175232-691303a2786a h1:zRfX02Zl4ecu
forge.chapril.org/losyme/uuid v0.0.0-20220410175232-691303a2786a/go.mod h1:AgvbvGzTkQkbiM+s9eVhvLUSHbA0V6N+q5oBFI2v0LA=
forge.chapril.org/losyme/zombie v0.0.0-20220409174805-481eb907037c h1:GBZkDfZPBX9RseY3Jfzz3SiPKqcpwmrTs/gV6XEpSdQ=
forge.chapril.org/losyme/zombie v0.0.0-20220409174805-481eb907037c/go.mod h1:f2dCQZ+o+tk8hzWDapLPvqjiEF1QShkS19jOptvoYaM=
forge.chapril.org/minikit/daemon v0.0.0-20220412103438-52bca71159a5 h1:A6oNcVbkYNXsD0D1783Eg9NS0iIGdhuICBOuTBoHrY0=
forge.chapril.org/minikit/daemon v0.0.0-20220412103438-52bca71159a5/go.mod h1:4Xyx5Ht8FTo1B+tKU1DmPxlGtWov174UgUpNF4p0YD8=
forge.chapril.org/minikit/kong v0.0.0-20220412103453-3690461555f5 h1:LRo2OpXDNwdNqMTFO+v6BPv1sS/HGJknI0389GIAiUQ=
forge.chapril.org/minikit/kong v0.0.0-20220412103453-3690461555f5/go.mod h1:e1HhMfn+MMnQBQeUwJbY38JsWD6VPXm+TlbLhJl8aHo=
forge.chapril.org/minikit/minikit v0.0.0-20220412103352-4f0f217bb77f h1:6TsiEVQQ+wjSQgd1DxbDs/R3HBwQc+l9MkZ/nmKYQiU=
forge.chapril.org/minikit/minikit v0.0.0-20220412103352-4f0f217bb77f/go.mod h1:cYmIILlyqWfYWZVLmpD2MrPPkkCuggPWMg155Ao4fTg=
forge.chapril.org/minikit/scheduler v0.0.0-20220412103508-85768d104008 h1:XqjcxQB4L2D0Bzj2ubgK9d1AAVosAh6oMziYWS8AFIo=
forge.chapril.org/minikit/scheduler v0.0.0-20220412103508-85768d104008/go.mod h1:3ZZAyOGiC4gvPNCM1FFNf9dqB7nX+LZ8a/wIRG6sm3s=
forge.chapril.org/minikit/daemon v0.0.0-20220412150040-5b2b61b31090 h1:KtwNBHQQ+jacQP9ZZNbbcly72t9uUNl5P3uO8a/6vrg=
forge.chapril.org/minikit/daemon v0.0.0-20220412150040-5b2b61b31090/go.mod h1:eTQSXO4xq0KFBtk1NOzQTjgZcpSvB/C/2fnrO0K7GPs=
forge.chapril.org/minikit/kong v0.0.0-20220412150056-bb584e316cc3 h1:2IZXKmWhdrPamAzCeTffNAcoNYWV5YgVGmronAaPoi0=
forge.chapril.org/minikit/kong v0.0.0-20220412150056-bb584e316cc3/go.mod h1:NEiyBSVpJZyhY4QKcjSyOdVpUO4szMgtI3dRRm/XMek=
forge.chapril.org/minikit/minikit v0.0.0-20220412150011-f3afc17fda68 h1:BugsZ49VtnfRyS3GOQrXY1uyE/389/Kn7EptqYDNkRE=
forge.chapril.org/minikit/minikit v0.0.0-20220412150011-f3afc17fda68/go.mod h1:cYmIILlyqWfYWZVLmpD2MrPPkkCuggPWMg155Ao4fTg=
forge.chapril.org/minikit/scheduler v0.0.0-20220412150113-e0db6e28f6eb h1:hL2yHZG0wXhxsYkuLMCmc6YMcXfdfoHXt6uIzQpkZ2k=
forge.chapril.org/minikit/scheduler v0.0.0-20220412150113-e0db6e28f6eb/go.mod h1:LmxIOiKvd2P3BNBie2BYxeMRFNb/Z10w40gSbpsNM6Q=
github.com/Showmax/go-fqdn v1.0.0/go.mod h1:SfrFBzmDCtCGrnHhoDjuvFnKsWjEQX/Q9ARZvOrJAko=
github.com/coreos/go-systemd/v22 v22.3.2 h1:D9/bQk5vlXQFZ6Kwuu6zaiXJ9oTPe68++AzAJc1DzSI=
github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=

@ -45,6 +45,15 @@ func (app *Application) Run() error {
ak.NewCmdLine(app.cmdline),
ak.NewConfig(app.config),
ak.NewLogger(),
minikit.NewComponent(
"log",
minikit.WithBuild(
func() error {
cs.Logger().Info("Config", "data", cs.Config().Data()) //:::::::::::::::::::::::::::::::::::::::::::
return nil
},
),
),
ak.NewCrypto(),
minikit.NewComponent(
"task",

Loading…
Cancel
Save