Try to fix the borked subdomain architecture

This commit is contained in:
Tracker-Friendly 2024-10-20 19:45:28 +01:00
parent 5ac3ec1753
commit b840529d13
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@ package library
import ( import (
"database/sql" "database/sql"
"github.com/go-chi/chi/v5"
"github.com/google/uuid" "github.com/google/uuid"
"io/fs" "io/fs"
"time" "time"
@ -33,6 +34,7 @@ type ServiceInitializationInformation struct {
Domain string `validate:"required"` Domain string `validate:"required"`
Outbox chan<- InterServiceMessage `validate:"required"` Outbox chan<- InterServiceMessage `validate:"required"`
Inbox <-chan InterServiceMessage `validate:"required"` Inbox <-chan InterServiceMessage `validate:"required"`
Router *chi.Mux `validate:"required"`
Configuration map[string]interface{} Configuration map[string]interface{}
ResourceDir fs.FS ResourceDir fs.FS
} }