Browse Source

En cours de développement

master
losyme 9 months ago
parent
commit
af832776ad
  1. 5
      Taskfile.yml
  2. 8
      go.mod
  3. 16
      go.sum
  4. 8
      internal/api/api.go
  5. 2
      internal/api/jobs.go

5
Taskfile.yml

@ -15,14 +15,11 @@ tasks:
- go get -u forge.chapril.org/dune/jw
- go get -u forge.chapril.org/dune/memory
- go get -u forge.chapril.org/dune/model
- go get -u forge.chapril.org/eckmuhl/context
- go get -u forge.chapril.org/eckmuhl/middleware
- go get -u forge.chapril.org/eckmuhl/render
- go get -u forge.chapril.org/eckmuhl/router
- go get -u forge.chapril.org/losyme/application
- go get -u forge.chapril.org/losyme/cmdline
- go get -u forge.chapril.org/losyme/config
- go get -u forge.chapril.org/losyme/errors
- go get -u forge.chapril.org/losyme/kong
- go get -u forge.chapril.org/losyme/logger
- go get -u forge.chapril.org/losyme/minikit
- go get -u forge.chapril.org/losyme/scheduler

8
go.mod

@ -6,23 +6,19 @@ require (
forge.chapril.org/dune/jw v0.0.0-20211020130157-3c3c3fe4d012
forge.chapril.org/dune/memory v0.0.0-20211020130347-474549465ac2
forge.chapril.org/dune/model v0.0.0-20211020130416-c773f1d2fa0b
forge.chapril.org/eckmuhl/context v0.0.0-20211028072132-87fe20762eba
forge.chapril.org/eckmuhl/middleware v0.0.0-20211028072444-9da44b08ec04
forge.chapril.org/eckmuhl/router v0.0.0-20211028072217-1459f3dd2ce6
forge.chapril.org/losyme/application v0.0.0-20211008200819-b014e639a171
forge.chapril.org/losyme/cmdline v0.0.0-20211010173716-509a4c1f872e
forge.chapril.org/losyme/config v0.0.0-20211025142334-51a8a7a73a4f
forge.chapril.org/losyme/errors v0.0.0-20211003204336-ad5510c24b40
forge.chapril.org/losyme/kong v0.0.0-20211028090253-c20dc80c79ab
forge.chapril.org/losyme/logger v0.0.0-20211020125912-674a399f933c
forge.chapril.org/losyme/minikit v0.0.0-20211028072657-eefc7eb50a66
forge.chapril.org/losyme/minikit v0.0.0-20211028090906-1e2526234f6e
forge.chapril.org/losyme/scheduler v0.0.0-20211003204604-f14dada88faf
forge.chapril.org/losyme/util v0.0.0-20211025142031-fd89d32d86fe
forge.chapril.org/losyme/uuid v0.0.0-20211007082235-8d502169e034
)
require (
forge.chapril.org/eckmuhl/render v0.0.0-20211028072039-05a78935e83a // indirect
forge.chapril.org/eckmuhl/server v0.0.0-20211025142833-6bfb82ee5b8e // indirect
forge.chapril.org/losyme/buffer v0.0.0-20211003203540-771701f5a518 // indirect
forge.chapril.org/losyme/crypto v0.0.0-20211003213528-e97d4ebea720 // indirect
forge.chapril.org/losyme/kvfmt v0.0.0-20211003204256-34ac32764dae // indirect

16
go.sum

@ -4,16 +4,6 @@ forge.chapril.org/dune/memory v0.0.0-20211020130347-474549465ac2 h1:gj9NfEbXMnYY
forge.chapril.org/dune/memory v0.0.0-20211020130347-474549465ac2/go.mod h1:3/uYWmGaCQHUWsjyXjOYZJB36MPhsWEBjZ/i2Sj/FXs=
forge.chapril.org/dune/model v0.0.0-20211020130416-c773f1d2fa0b h1:Sjgl+8N4nVtOsQLCNpLuJK9XSccNsY54xKNp39cmBiY=
forge.chapril.org/dune/model v0.0.0-20211020130416-c773f1d2fa0b/go.mod h1:NbcPP22feQcoXHLo9EyWsPtwv+zD/lLERCReI4XNecM=
forge.chapril.org/eckmuhl/context v0.0.0-20211028072132-87fe20762eba h1:lAHdO0tVkbSUqP/K2oXGQXNhdBWiL5fz62UKFLtAf5g=
forge.chapril.org/eckmuhl/context v0.0.0-20211028072132-87fe20762eba/go.mod h1:rF7cBLvtL7gXwY9JpsLc7/mpFYM+J5YpWnC53ZqrKtQ=
forge.chapril.org/eckmuhl/middleware v0.0.0-20211028072444-9da44b08ec04 h1:IV0mCVdlrETMu2zO5MYyRlcjc7HlC6HW9iRmDgkln2c=
forge.chapril.org/eckmuhl/middleware v0.0.0-20211028072444-9da44b08ec04/go.mod h1:Dc6hLVzOAMhG1NqM9GKD+qpAjQp3SMjsnx9DxzoUwsQ=
forge.chapril.org/eckmuhl/render v0.0.0-20211028072039-05a78935e83a h1:UpYt+2sgFmXhtWCJjJPyR2phcj8djw2kBlsn1VQfO+Y=
forge.chapril.org/eckmuhl/render v0.0.0-20211028072039-05a78935e83a/go.mod h1:NfRA+CqB0f4RLDqQ/Q5QozEHSPBqyWUAyGI+7sJRuBw=
forge.chapril.org/eckmuhl/router v0.0.0-20211028072217-1459f3dd2ce6 h1:SAFcWvzF/+644dnSkR4r/wPagSI/IgPqvjIlu/t2tbs=
forge.chapril.org/eckmuhl/router v0.0.0-20211028072217-1459f3dd2ce6/go.mod h1:T9QUvVm4hrCFLpjCDq3u9/mAKUEejV1AdpNC1Mc46RU=
forge.chapril.org/eckmuhl/server v0.0.0-20211025142833-6bfb82ee5b8e h1:3vqsUmtMp2zb/o4uDZ3yQ47zJgQfkajVwBXsCo1YSUw=
forge.chapril.org/eckmuhl/server v0.0.0-20211025142833-6bfb82ee5b8e/go.mod h1:pCqVQ1FeaeRUymuC/LYA1c+5AY2uqjOZVKZjLysaotk=
forge.chapril.org/losyme/application v0.0.0-20211008200819-b014e639a171 h1:T8MQXGNCs1AsjtIQMYw1gjp0g4H9Frflosm6kkY8e7g=
forge.chapril.org/losyme/application v0.0.0-20211008200819-b014e639a171/go.mod h1:olQo5n5tnBRHq0wcc0lNbymvsXdTuYaCjNfd2d/+01w=
forge.chapril.org/losyme/buffer v0.0.0-20211003203540-771701f5a518 h1:B7wu0DWUwpt0Mw/VTuWQZikhV/VD6kc2iJWbIY+jgEM=
@ -26,12 +16,14 @@ forge.chapril.org/losyme/crypto v0.0.0-20211003213528-e97d4ebea720 h1:tMwzjPmGvB
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=
forge.chapril.org/losyme/errors v0.0.0-20211003204336-ad5510c24b40/go.mod h1:saYfIRBW9zjiCik+/+5ZaajMEnTPBNI00lF9EnO+2kM=
forge.chapril.org/losyme/kong v0.0.0-20211028090253-c20dc80c79ab h1:FTbf944xZIVDruDHZxkABDTzzOpOpqsm6f+gYYLSB4s=
forge.chapril.org/losyme/kong v0.0.0-20211028090253-c20dc80c79ab/go.mod h1:tRojBb6sLEER84ZiSr0z8QNLTllrFvh/QisI8iLkqZ4=
forge.chapril.org/losyme/kvfmt v0.0.0-20211003204256-34ac32764dae h1:RdYWXKy+OQNJueb4Qqqo7sL4OY3/TpfUvmoIoH8ua9E=
forge.chapril.org/losyme/kvfmt v0.0.0-20211003204256-34ac32764dae/go.mod h1:wnVjwnCO2vFLLZ1EgFuFws1n8XLluufsGsdozGYSA7c=
forge.chapril.org/losyme/logger v0.0.0-20211020125912-674a399f933c h1:AsWWDqFMigGp33sHDqGdJVVACiPYcY1ChSmBN7olBrk=
forge.chapril.org/losyme/logger v0.0.0-20211020125912-674a399f933c/go.mod h1:a3fN8yTjq5S/ramr03hIkutKM/35UsijUgRNKHjjlMU=
forge.chapril.org/losyme/minikit v0.0.0-20211028072657-eefc7eb50a66 h1:l9JsPNwUdjwLq/BQxF9xSz3Qwfe+9fJMZo5epdBCI5M=
forge.chapril.org/losyme/minikit v0.0.0-20211028072657-eefc7eb50a66/go.mod h1:x++NEZOh1KmmR7M2aEFrZ3OFBeyDSogsnJGGXNhYO5o=
forge.chapril.org/losyme/minikit v0.0.0-20211028090906-1e2526234f6e h1:vQXG7yc0Awi5a1NDHEy5YYmhtFCiG3L778h4DuU/tDs=
forge.chapril.org/losyme/minikit v0.0.0-20211028090906-1e2526234f6e/go.mod h1:pn7rDP/l8BgjoKjDFmJX/Ti/3Eqvp2QsPFcXkqMd1Yo=
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-20211025142031-fd89d32d86fe h1:xjMUKHxtG8jz57JyOxgNLlRaPLJeQvMV9K3HNlhKDB8=

8
internal/api/api.go

@ -9,10 +9,10 @@ package api
import (
"net/http"
"forge.chapril.org/eckmuhl/context"
"forge.chapril.org/eckmuhl/middleware"
"forge.chapril.org/eckmuhl/middleware/json"
"forge.chapril.org/eckmuhl/router"
"forge.chapril.org/losyme/kong/context"
"forge.chapril.org/losyme/kong/middleware"
"forge.chapril.org/losyme/kong/middleware/json"
"forge.chapril.org/losyme/kong/router"
"forge.chapril.org/losyme/logger"
"forge.chapril.org/losyme/uuid"

2
internal/api/jobs.go

@ -9,7 +9,7 @@ package api
import (
"net/http"
"forge.chapril.org/eckmuhl/context"
"forge.chapril.org/losyme/kong/context"
)
func (api *api) createJob(c *context.Context) error {

Loading…
Cancel
Save