Browse Source

En cours de développement

master
losyme 5 months ago
parent
commit
fe1ed73e2f
  1. 8
      go.mod
  2. 16
      go.sum
  3. 1
      internal/api/api.go

8
go.mod

@ -4,14 +4,14 @@ go 1.17
require (
forge.chapril.org/dune/jw v0.0.0-20211213225407-4cc900fc0c76
forge.chapril.org/dune/sdk v0.0.0-20211216110127-28600e91690f
forge.chapril.org/dune/sdk v0.0.0-20211216161740-f64766904636
forge.chapril.org/losyme/application v0.0.0-20211214174124-bef5309e26a4
forge.chapril.org/losyme/cmdline v0.0.0-20211214174235-6115c19c049f
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-20211214174257-3bfe5e40eb6d
forge.chapril.org/losyme/kong v0.0.0-20211216163507-6ce02b7c7961
forge.chapril.org/losyme/logger v0.0.0-20211213111305-bb9c37f139f1
forge.chapril.org/losyme/minikit v0.0.0-20211214174448-43187fcd1c5f
forge.chapril.org/losyme/minikit v0.0.0-20211216163844-8a20ce7276be
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

16
go.sum

@ -1,28 +1,28 @@
forge.chapril.org/dune/jw v0.0.0-20211213225407-4cc900fc0c76 h1:Y6JKfcyJyy6jgGShTD87JhHox7R57QcThP5Jc9nTy0k=
forge.chapril.org/dune/jw v0.0.0-20211213225407-4cc900fc0c76/go.mod h1:7CyK2ZvzHntSlOZ7kWcqVhkmUzlE0QI3uKW9kPbNbOY=
forge.chapril.org/dune/sdk v0.0.0-20211216110127-28600e91690f h1:os44CQuEoDIvU9GSka9v2iexs21fNAenZGIKb3V1lvc=
forge.chapril.org/dune/sdk v0.0.0-20211216110127-28600e91690f/go.mod h1:utTMfo0y1RXcTsDT7O4Ysb6nXBKwJ2AySN2AYEhOclU=
forge.chapril.org/dune/sdk v0.0.0-20211216161740-f64766904636 h1:djmg0okvP/WLquF6o9dngORIVaEPE3ena/CiomqhZKI=
forge.chapril.org/dune/sdk v0.0.0-20211216161740-f64766904636/go.mod h1:utTMfo0y1RXcTsDT7O4Ysb6nXBKwJ2AySN2AYEhOclU=
forge.chapril.org/losyme/application v0.0.0-20211214174124-bef5309e26a4 h1:ImL91/ukFZFQtRs2bQdnU7yhd2LFknu60sBaGoJBZws=
forge.chapril.org/losyme/application v0.0.0-20211214174124-bef5309e26a4/go.mod h1:aiWjezfed+SE6/RVdAxGhzBYOPwJsWhstPhRrrLbTAo=
forge.chapril.org/losyme/breaker v0.0.0-20211213111052-51eee5381368/go.mod h1:1vBH8Q+vML8EBZj1Pvcpzxx+eEBK+f24QzcXT5Bo+MY=
forge.chapril.org/losyme/buffer v0.0.0-20211213111054-7c8f2994c189 h1:etQCCoOqkg7jcLewrM/OdrB1gKgTWCGJ59Pg1tcPsRI=
forge.chapril.org/losyme/buffer v0.0.0-20211213111054-7c8f2994c189/go.mod h1:4Yl585hmF3bWZfuwGF2Ym8ErykJZiF9yawlmK7szIkc=
forge.chapril.org/losyme/cmdline v0.0.0-20211214174235-6115c19c049f h1:ZGINw0nNdV5MRIWWoNkz88NcDVW2DSaRw9brtTUWQiQ=
forge.chapril.org/losyme/cmdline v0.0.0-20211214174235-6115c19c049f/go.mod h1:ZKIDIOo6fLNwBhie9BaDG6T2v3cjmPoqd7iADI2D5Yw=
forge.chapril.org/losyme/cmdline v0.0.0-20211216135554-ddf96d0c10e4 h1:DB5baKfGj+GYH2CutVQLScpZObAfNDiOVHZ3YAHe+OY=
forge.chapril.org/losyme/cmdline v0.0.0-20211216135554-ddf96d0c10e4/go.mod h1:ZKIDIOo6fLNwBhie9BaDG6T2v3cjmPoqd7iADI2D5Yw=
forge.chapril.org/losyme/config v0.0.0-20211214174243-67e8643fd980 h1:A8fUvtzmhMVjhxAAT0JUjKTd23qpp1hpu2J5raOUj6U=
forge.chapril.org/losyme/config v0.0.0-20211214174243-67e8643fd980/go.mod h1:GHD2hOY2HNNFHeOkcKkZ0aPwjjVAy2JN5fZzelKvuQY=
forge.chapril.org/losyme/crypto v0.0.0-20211213111246-fd5b0716c424 h1:xsqUHX4CgvORcuos717IpmUb+N4moUQ1chi0blXOPqU=
forge.chapril.org/losyme/crypto v0.0.0-20211213111246-fd5b0716c424/go.mod h1:ojbNmqvPUmK6I0sCERfXbLiwHxowyPWDBbjCula7HLw=
forge.chapril.org/losyme/errors v0.0.0-20211213111152-79155957013e h1:2L1MvtJZim7ASkp66uuGhwkrwZoO0zJnfKRDwORv7BM=
forge.chapril.org/losyme/errors v0.0.0-20211213111152-79155957013e/go.mod h1:Gw3DzaKaPGJyh05PqlGNHRmmt14oUaZDoZwdULUlcWQ=
forge.chapril.org/losyme/kong v0.0.0-20211214174257-3bfe5e40eb6d h1:AS2mDATZJQJmeWgOYNGAK17zZwvrJzr1gbWmiNCai3Q=
forge.chapril.org/losyme/kong v0.0.0-20211214174257-3bfe5e40eb6d/go.mod h1:AEC1MI51qHobzM6CwOYASAq8uHnHEo0mkCeY2thXMec=
forge.chapril.org/losyme/kong v0.0.0-20211216163507-6ce02b7c7961 h1:GlNuyA8R0AeuLnvXPM58IMpmz1PA6NcRji1GmWis8TU=
forge.chapril.org/losyme/kong v0.0.0-20211216163507-6ce02b7c7961/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-20211214174448-43187fcd1c5f h1:A8CUFWQrWj1Mv4FNgd5bPOeuV2FSB5q5f9+Aqjy8Oeo=
forge.chapril.org/losyme/minikit v0.0.0-20211214174448-43187fcd1c5f/go.mod h1:L7UmNHeKCFVaSSmi+V0w3M+7pettMlzTBYBHyF5P1M4=
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/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=

1
internal/api/api.go

@ -42,6 +42,7 @@ func Build(cs *components.Components) (*API, error) {
middleware.RequestID(),
middleware.Logger(logger),
json.OnError(logger),
middleware.BasicAuth(cs.Crypto),
)
api := &API{

Loading…
Cancel
Save