Project scaffold and general layout. Monorepo.

This commit is contained in:
Phillip Michelsen
2025-04-28 05:05:30 +08:00
parent a982a02104
commit c6986c2828
22 changed files with 58 additions and 0 deletions

8
.gitignore vendored Normal file
View File

@@ -0,0 +1,8 @@
### Example user template template
### Example user template
# IntelliJ project files
.idea
*.iml
out
gen

7
go.work Normal file
View File

@@ -0,0 +1,7 @@
go 1.24.2
use (
./pkg
./services/marketdata
./services/orchestrator
)

3
pkg/go.mod Normal file
View File

@@ -0,0 +1,3 @@
module gitlab.michelsen.id/phillmichelsen/tessera/pkg
go 1.24.2

View File

View File

@@ -0,0 +1 @@
package cmd

View File

@@ -0,0 +1,3 @@
module gitlab.michelsen.id/phillmichelsen/tessera/services/marketdata
go 1.24.2

View File

@@ -0,0 +1 @@
package config

View File

@@ -0,0 +1,7 @@
package identifier
type Identifier struct {
Source string
Subject string
Type string
}

View File

@@ -0,0 +1 @@
package manager

View File

@@ -0,0 +1 @@
package binance

View File

@@ -0,0 +1 @@
package binance

View File

@@ -0,0 +1 @@
package binance

View File

@@ -0,0 +1,13 @@
package providers
import (
"gitlab.michelsen.id/phillmichelsen/tessera/services/marketdata/internal/identifier"
)
type Provider interface {
Start() error
Stop() error
Subscribe(identifier identifier.Identifier, channel chan<- any) error
Unsubscribe(identifier identifier.Identifier)
Fetch(identifier identifier.Identifier) (any, error)
}

View File

@@ -0,0 +1 @@
package router

View File

@@ -0,0 +1 @@
package grpc

View File

@@ -0,0 +1 @@
package cmd

View File

@@ -0,0 +1,3 @@
module gitlab.michelsen.id/phillmichelsen/tessera/services/orchestrator
go 1.24.2

View File

@@ -0,0 +1 @@
package marketdata

View File

@@ -0,0 +1 @@
package cmd

View File

@@ -0,0 +1 @@
package marketdata

View File

@@ -0,0 +1 @@
package cmd

View File

@@ -0,0 +1 @@
package marketdata