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 (
|
||||
"database/sql"
|
||||
"github.com/go-chi/chi/v5"
|
||||
"github.com/google/uuid"
|
||||
"io/fs"
|
||||
"time"
|
||||
|
@ -33,6 +34,7 @@ type ServiceInitializationInformation struct {
|
|||
Domain string `validate:"required"`
|
||||
Outbox chan<- InterServiceMessage `validate:"required"`
|
||||
Inbox <-chan InterServiceMessage `validate:"required"`
|
||||
Router *chi.Mux `validate:"required"`
|
||||
Configuration map[string]interface{}
|
||||
ResourceDir fs.FS
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue