Skip to content

Commit

Permalink
Move core and plugins to components folder
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed Apr 17, 2023
1 parent 3fbb7b3 commit 2a4db95
Show file tree
Hide file tree
Showing 15 changed files with 87 additions and 88 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "core/faucet/frontend"]
path = core/faucet/frontend
[submodule "components/faucet/frontend"]
path = components/faucet/frontend
url = https://github.com/iotaledger/chrysalis-faucet.git
4 changes: 2 additions & 2 deletions core/app/app.go → components/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"github.com/iotaledger/hive.go/app"
"github.com/iotaledger/hive.go/app/components/profiling"
"github.com/iotaledger/hive.go/app/components/shutdown"
"github.com/iotaledger/inx-app/core/inx"
"github.com/iotaledger/inx-faucet/core/faucet"
"github.com/iotaledger/inx-app/components/inx"
"github.com/iotaledger/inx-faucet/components/faucet"
)

var (
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion core/faucet/frontend
Submodule frontend deleted from cd255c
28 changes: 14 additions & 14 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ module github.com/iotaledger/inx-faucet
go 1.20

require (
github.com/iotaledger/hive.go/app v0.0.0-20230414110654-96c760895037
github.com/iotaledger/hive.go/crypto v0.0.0-20230414110654-96c760895037
github.com/iotaledger/hive.go/logger v0.0.0-20230414110654-96c760895037
github.com/iotaledger/hive.go/runtime v0.0.0-20230414110654-96c760895037
github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20230414110654-96c760895037
github.com/iotaledger/hornet/v2 v2.0.0-rc.4.0.20230414121039-571d9770cbf2
github.com/iotaledger/inx-app v1.0.0-rc.3.0.20230414112003-d6664fecf195
github.com/iotaledger/hive.go/app v0.0.0-20230417125513-e2e89991217f
github.com/iotaledger/hive.go/crypto v0.0.0-20230417125513-e2e89991217f
github.com/iotaledger/hive.go/logger v0.0.0-20230417125513-e2e89991217f
github.com/iotaledger/hive.go/runtime v0.0.0-20230417125513-e2e89991217f
github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20230417125513-e2e89991217f
github.com/iotaledger/hornet/v2 v2.0.0-rc.4.0.20230417173501-030b126ffde1
github.com/iotaledger/inx-app v1.0.0-rc.3.0.20230417173151-cde47df5fe79
github.com/iotaledger/inx/go v1.0.0-rc.2
github.com/iotaledger/iota.go/v3 v3.0.0-rc.2
github.com/labstack/echo/v4 v4.10.2
Expand Down Expand Up @@ -55,18 +55,18 @@ require (
github.com/iancoleman/orderedmap v0.2.0 // indirect
github.com/iotaledger/go-ds-kvstore v1.0.0-rc.1.0.20230222082244-f3010dd0a934 // indirect
github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7 // indirect
github.com/iotaledger/hive.go/constraints v0.0.0-20230414110654-96c760895037 // indirect
github.com/iotaledger/hive.go/ds v0.0.0-20230414110654-96c760895037 // indirect
github.com/iotaledger/hive.go/kvstore v0.0.0-20230414110654-96c760895037 // indirect
github.com/iotaledger/hive.go/lo v0.0.0-20230414110654-96c760895037 // indirect
github.com/iotaledger/hive.go/objectstorage v0.0.0-20230414110654-96c760895037 // indirect
github.com/iotaledger/hive.go/stringify v0.0.0-20230414110654-96c760895037 // indirect
github.com/iotaledger/hive.go/constraints v0.0.0-20230417125513-e2e89991217f // indirect
github.com/iotaledger/hive.go/ds v0.0.0-20230417125513-e2e89991217f // indirect
github.com/iotaledger/hive.go/kvstore v0.0.0-20230417125513-e2e89991217f // indirect
github.com/iotaledger/hive.go/lo v0.0.0-20230417125513-e2e89991217f // indirect
github.com/iotaledger/hive.go/objectstorage v0.0.0-20230417125513-e2e89991217f // indirect
github.com/iotaledger/hive.go/stringify v0.0.0-20230417125513-e2e89991217f // indirect
github.com/iotaledger/iota.go v1.0.0 // indirect
github.com/ipfs/go-cid v0.4.1 // indirect
github.com/ipfs/go-datastore v0.6.0 // indirect
github.com/ipfs/go-log/v2 v2.5.1 // indirect
github.com/jbenet/goprocess v0.1.4 // indirect
github.com/klauspost/compress v1.16.4 // indirect
github.com/klauspost/compress v1.16.5 // indirect
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
github.com/knadh/koanf v1.5.0 // indirect
github.com/kr/pretty v0.3.1 // indirect
Expand Down
56 changes: 28 additions & 28 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -267,32 +267,32 @@ github.com/iotaledger/go-ds-kvstore v1.0.0-rc.1.0.20230222082244-f3010dd0a934 h1
github.com/iotaledger/go-ds-kvstore v1.0.0-rc.1.0.20230222082244-f3010dd0a934/go.mod h1:yUq/V1mgrFtdBYnZv5p+4YU/tLXkbGykLFmPneTFFk4=
github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7 h1:dTrD7X2PTNgli6EbS4tV9qu3QAm/kBU3XaYZV2xdzys=
github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7/go.mod h1:ZRdPu684P0fQ1z8sXz4dj9H5LWHhz4a9oCtvjunkSrw=
github.com/iotaledger/hive.go/app v0.0.0-20230414110654-96c760895037 h1:ktbVvHAm8rbifN4ZULQjxCKZCeVSOlVCKZ9eFqPEvuk=
github.com/iotaledger/hive.go/app v0.0.0-20230414110654-96c760895037/go.mod h1:IaPRda30NqDF9MVn22DDN8Z/GJUQse8OknIv7PmgRM8=
github.com/iotaledger/hive.go/constraints v0.0.0-20230414110654-96c760895037 h1:e6B6H1fAYGyRrmGf4blg3YSuWnZV4yC3IzEQ8zOlSHg=
github.com/iotaledger/hive.go/constraints v0.0.0-20230414110654-96c760895037/go.mod h1:bvXXc6quBdERMMKnirr2+iQU4WnTz4KDbdHcusW9Ats=
github.com/iotaledger/hive.go/crypto v0.0.0-20230414110654-96c760895037 h1:Crh7afvEHsScUr0Ev+C2tQR9Jbz3B+Y3UmpnGBvGQo4=
github.com/iotaledger/hive.go/crypto v0.0.0-20230414110654-96c760895037/go.mod h1:IVi/dr3LswX32svw1M3Vya+LDT9WnQ1yndJ8Ia0zxX8=
github.com/iotaledger/hive.go/ds v0.0.0-20230414110654-96c760895037 h1:3ScH3HI30d7pICC+EX7JUSbZYJbdL0Uu7z8D8gRcstI=
github.com/iotaledger/hive.go/ds v0.0.0-20230414110654-96c760895037/go.mod h1:FSSNuwMSehoN7XpOWkugtpRGIYt2Fy+7224flzvyApw=
github.com/iotaledger/hive.go/kvstore v0.0.0-20230414110654-96c760895037 h1:dVH//DMz9i3gShLWSaK/vSnSIMV/jCT3GxdZgZ2HcHM=
github.com/iotaledger/hive.go/kvstore v0.0.0-20230414110654-96c760895037/go.mod h1:gr6EHs4tqaSo2JtvbIY07LMGX8Si9gmUSomOtYbJf78=
github.com/iotaledger/hive.go/lo v0.0.0-20230414110654-96c760895037 h1:mn+M1vdCoX2mUGOOOWxfrp5q4c7KPPyqUmbzQMSZOmo=
github.com/iotaledger/hive.go/lo v0.0.0-20230414110654-96c760895037/go.mod h1:kd0u3+9ZHqqWuXeerZy23W7vPOiH8vdEO/VylxuBeqE=
github.com/iotaledger/hive.go/logger v0.0.0-20230414110654-96c760895037 h1:IqdgevRu6iQDRU7TkrphgYdSZkC8I/rpcaXmXqaSmHM=
github.com/iotaledger/hive.go/logger v0.0.0-20230414110654-96c760895037/go.mod h1:xJ4vqOKuqF5C5+pvjk97zmEc/WEdN1HFK/9jHWBx740=
github.com/iotaledger/hive.go/objectstorage v0.0.0-20230414110654-96c760895037 h1:F48cN2sWs0JNl4BTb/kkfKWGq19CxUatAG49ksZFJI8=
github.com/iotaledger/hive.go/objectstorage v0.0.0-20230414110654-96c760895037/go.mod h1:ATWxMyFMuEEwReQxCqD92Neq899KcP0HH3WOd6/eiX4=
github.com/iotaledger/hive.go/runtime v0.0.0-20230414110654-96c760895037 h1:BmVx12YUgrYJxx9NFCGcya1B/3AdcklHehzX+jkHCRw=
github.com/iotaledger/hive.go/runtime v0.0.0-20230414110654-96c760895037/go.mod h1:A1z65KX13xC1KrUuH99WHwSuGnTqq0D64l5P9R1fMbc=
github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20230414110654-96c760895037 h1:GIkZkLf/9Aede0a7A9BRZC23xHt734hBs6g3qEu4+p8=
github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20230414110654-96c760895037/go.mod h1:NrZTRu5hrKwSxzPyA5G8BxaQakOLRvoFJM+5vtHDE04=
github.com/iotaledger/hive.go/stringify v0.0.0-20230414110654-96c760895037 h1:20ZxhD/aZJi6mNSED2nga5X+CNRr0DZehgF23rg9DBM=
github.com/iotaledger/hive.go/stringify v0.0.0-20230414110654-96c760895037/go.mod h1:l/F3cA/+67QdNj+sohv2v4HhmsdOcWScoA+sVYoAE4c=
github.com/iotaledger/hornet/v2 v2.0.0-rc.4.0.20230414121039-571d9770cbf2 h1:h6NpmM4rU98bumat10lm9l14iNI6MnKXSN8MMw6cXCM=
github.com/iotaledger/hornet/v2 v2.0.0-rc.4.0.20230414121039-571d9770cbf2/go.mod h1:ugKxZ/pnGOOvOsewJja1f8VNv/dee+9ypxdrkZJvfbY=
github.com/iotaledger/inx-app v1.0.0-rc.3.0.20230414112003-d6664fecf195 h1:0W7yFz5d3K4F8x4y8OsD87j3jgha8OC7QrEJCs0vCqU=
github.com/iotaledger/inx-app v1.0.0-rc.3.0.20230414112003-d6664fecf195/go.mod h1:r8ptsl+jqlu+DjbvVSIz3L2O3fIZ9zH0L+4odTHuxiY=
github.com/iotaledger/hive.go/app v0.0.0-20230417125513-e2e89991217f h1:7KxnUM6z9qjNPJThLCCneQAAtqMDcnfv/nDh78qgFRM=
github.com/iotaledger/hive.go/app v0.0.0-20230417125513-e2e89991217f/go.mod h1:vMXrLYkkHAqQC8yGLXcB1Adq9s3hPPf8Dv4sfd/koas=
github.com/iotaledger/hive.go/constraints v0.0.0-20230417125513-e2e89991217f h1:CmfPv23a32gSf3iYx0LAHRKZydt9hPgnRTknR85Cles=
github.com/iotaledger/hive.go/constraints v0.0.0-20230417125513-e2e89991217f/go.mod h1:bvXXc6quBdERMMKnirr2+iQU4WnTz4KDbdHcusW9Ats=
github.com/iotaledger/hive.go/crypto v0.0.0-20230417125513-e2e89991217f h1:fUUKFqf2SBBqHffRYqML+aoCwzw5s+9QmTV3nB+EydM=
github.com/iotaledger/hive.go/crypto v0.0.0-20230417125513-e2e89991217f/go.mod h1:xp9Wbk2vp4LHb0xTbDRphSJLgLYvRNNe5lWHd8OLI5c=
github.com/iotaledger/hive.go/ds v0.0.0-20230417125513-e2e89991217f h1:LQxEzB+w5aC+wdjz2AYAwzwJz0gars8Ibuau4EYSxL8=
github.com/iotaledger/hive.go/ds v0.0.0-20230417125513-e2e89991217f/go.mod h1:wwPP73b6InomUeirqEfaYNqoTsuzxNZPa/ci4efzuyU=
github.com/iotaledger/hive.go/kvstore v0.0.0-20230417125513-e2e89991217f h1:G074X16SOzjiBJtQkIfAvjm+dX8T4IhvztyK81V8uro=
github.com/iotaledger/hive.go/kvstore v0.0.0-20230417125513-e2e89991217f/go.mod h1:oET9GdiN58SWw+INHuNwmiBlfmfRyoe1cJMx7TYk1Js=
github.com/iotaledger/hive.go/lo v0.0.0-20230417125513-e2e89991217f h1:Q1MM9T6zE9iXk6QtUgqGzxuk9j7pNapbB0iD+39VNNA=
github.com/iotaledger/hive.go/lo v0.0.0-20230417125513-e2e89991217f/go.mod h1:dsAfSt53PGgT3n675q2wFLGcvRlLNS3Affhf+vnFbb4=
github.com/iotaledger/hive.go/logger v0.0.0-20230417125513-e2e89991217f h1:i0Hyuamj1iRRixOusCCMlHkHR/NAs9+cv/lFUV94kts=
github.com/iotaledger/hive.go/logger v0.0.0-20230417125513-e2e89991217f/go.mod h1:7ZE+E8JgqJ9zxg5/FOObEfYyBpC813TMv6Qzcm2YekY=
github.com/iotaledger/hive.go/objectstorage v0.0.0-20230417125513-e2e89991217f h1:10ZUosNi8HCD7KyWWm2kocacqCj52l/yGlOVYNgJRSA=
github.com/iotaledger/hive.go/objectstorage v0.0.0-20230417125513-e2e89991217f/go.mod h1:E7/slsvlTsSP+laCKWbBOmSPg83UTh9mPm8ostFOlv4=
github.com/iotaledger/hive.go/runtime v0.0.0-20230417125513-e2e89991217f h1:c3PjrBnD26nlUOPlBlF1dS4sv1LN5ndJqfUvWwO9jwQ=
github.com/iotaledger/hive.go/runtime v0.0.0-20230417125513-e2e89991217f/go.mod h1:kYmuL6D9aDLqLpskEEC+DGKXC/9mx7wtLF0WItRuexs=
github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20230417125513-e2e89991217f h1:tUw+oQKBsM67QeI3dGKhb7p/ziZ35+pgN9fu8W06UFY=
github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20230417125513-e2e89991217f/go.mod h1:NrZTRu5hrKwSxzPyA5G8BxaQakOLRvoFJM+5vtHDE04=
github.com/iotaledger/hive.go/stringify v0.0.0-20230417125513-e2e89991217f h1:C2AIi1lpQieqa5piGeJN0byheffJNF0aMiiyUujU1b8=
github.com/iotaledger/hive.go/stringify v0.0.0-20230417125513-e2e89991217f/go.mod h1:l/F3cA/+67QdNj+sohv2v4HhmsdOcWScoA+sVYoAE4c=
github.com/iotaledger/hornet/v2 v2.0.0-rc.4.0.20230417173501-030b126ffde1 h1:F3SOQlNSzmZnJsDrdnFlpq8C5eKSe4qE66U/zV2j3oQ=
github.com/iotaledger/hornet/v2 v2.0.0-rc.4.0.20230417173501-030b126ffde1/go.mod h1:2jaX8VnHlV08TUAA565xVmwHQ8HPNK259MgIa1pYFAs=
github.com/iotaledger/inx-app v1.0.0-rc.3.0.20230417173151-cde47df5fe79 h1:sQlg8TzT2kPd8zg74KU465A4EgOumEXtqSR98thwo1A=
github.com/iotaledger/inx-app v1.0.0-rc.3.0.20230417173151-cde47df5fe79/go.mod h1:9AA+oDJv4WGM0YdDm7Lh24XK5O9Jd9SPw3ApMJSSv7k=
github.com/iotaledger/inx/go v1.0.0-rc.2 h1:SjHGHQ1pEe7/B0bnVIHCa1zQBvcC0QRwcYPzUGarrJU=
github.com/iotaledger/inx/go v1.0.0-rc.2/go.mod h1:PYijAQs5lgAzLENkpvdSoLM8Iq4KAg+CdU5Smxj01lI=
github.com/iotaledger/iota.go v1.0.0 h1:tqm1FxJ/zOdzbrAaQ5BQpVF8dUy2eeGlSeWlNG8GoXY=
Expand Down Expand Up @@ -340,8 +340,8 @@ github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/klauspost/compress v1.8.2/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
github.com/klauspost/compress v1.9.7/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
github.com/klauspost/compress v1.16.4 h1:91KN02FnsOYhuunwU4ssRe8lc2JosWmizWa91B5v1PU=
github.com/klauspost/compress v1.16.4/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE=
github.com/klauspost/compress v1.16.5 h1:IFV2oUNUzZaz+XyusxpLzpzS8Pt5rh0Z16For/djlyI=
github.com/klauspost/compress v1.16.5/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE=
github.com/klauspost/cpuid v1.2.1/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
github.com/klauspost/cpuid/v2 v2.0.4/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/iotaledger/inx-faucet/core/app"
"github.com/iotaledger/inx-faucet/components/app"
)

func main() {
Expand Down
24 changes: 12 additions & 12 deletions tools/gendoc/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ go 1.20
replace github.com/iotaledger/inx-faucet => ../../

require (
github.com/iotaledger/hive.go/app v0.0.0-20230414110654-96c760895037
github.com/iotaledger/hive.go/apputils v0.0.0-20230414110654-96c760895037
github.com/iotaledger/hive.go/app v0.0.0-20230417125513-e2e89991217f
github.com/iotaledger/hive.go/apputils v0.0.0-20230417125513-e2e89991217f
github.com/iotaledger/inx-faucet v0.0.0-00010101000000-000000000000
)

Expand Down Expand Up @@ -37,16 +37,16 @@ require (
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/holiman/uint256 v1.2.2 // indirect
github.com/iancoleman/orderedmap v0.2.0 // indirect
github.com/iotaledger/hive.go/constraints v0.0.0-20230414110654-96c760895037 // indirect
github.com/iotaledger/hive.go/crypto v0.0.0-20230414110654-96c760895037 // indirect
github.com/iotaledger/hive.go/ds v0.0.0-20230414110654-96c760895037 // indirect
github.com/iotaledger/hive.go/lo v0.0.0-20230414110654-96c760895037 // indirect
github.com/iotaledger/hive.go/logger v0.0.0-20230414110654-96c760895037 // indirect
github.com/iotaledger/hive.go/runtime v0.0.0-20230414110654-96c760895037 // indirect
github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20230414110654-96c760895037 // indirect
github.com/iotaledger/hive.go/stringify v0.0.0-20230414110654-96c760895037 // indirect
github.com/iotaledger/hornet/v2 v2.0.0-rc.4.0.20230414121039-571d9770cbf2 // indirect
github.com/iotaledger/inx-app v1.0.0-rc.3.0.20230414112003-d6664fecf195 // indirect
github.com/iotaledger/hive.go/constraints v0.0.0-20230417125513-e2e89991217f // indirect
github.com/iotaledger/hive.go/crypto v0.0.0-20230417125513-e2e89991217f // indirect
github.com/iotaledger/hive.go/ds v0.0.0-20230417125513-e2e89991217f // indirect
github.com/iotaledger/hive.go/lo v0.0.0-20230417125513-e2e89991217f // indirect
github.com/iotaledger/hive.go/logger v0.0.0-20230417125513-e2e89991217f // indirect
github.com/iotaledger/hive.go/runtime v0.0.0-20230417125513-e2e89991217f // indirect
github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20230417125513-e2e89991217f // indirect
github.com/iotaledger/hive.go/stringify v0.0.0-20230417125513-e2e89991217f // indirect
github.com/iotaledger/hornet/v2 v2.0.0-rc.4.0.20230417173501-030b126ffde1 // indirect
github.com/iotaledger/inx-app v1.0.0-rc.3.0.20230417173151-cde47df5fe79 // indirect
github.com/iotaledger/inx/go v1.0.0-rc.2 // indirect
github.com/iotaledger/iota.go v1.0.0 // indirect
github.com/iotaledger/iota.go/v3 v3.0.0-rc.2 // indirect
Expand Down
Loading

0 comments on commit 2a4db95

Please sign in to comment.