Try to fix the borked subdomain architecture
This commit is contained in:
parent
5ac3ec1753
commit
b840529d13
2
main.go
2
main.go
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue