-
Notifications
You must be signed in to change notification settings - Fork 0
/
server.go
25 lines (23 loc) · 836 Bytes
/
server.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package cmd
import (
"github.com/alexfalkowski/go-service/compressor"
"github.com/alexfalkowski/go-service/debug"
"github.com/alexfalkowski/go-service/feature"
"github.com/alexfalkowski/go-service/marshaller"
"github.com/alexfalkowski/go-service/runtime"
"github.com/alexfalkowski/go-service/telemetry"
"github.com/alexfalkowski/go-service/telemetry/metrics"
"github.com/alexfalkowski/go-service/transport"
"github.com/alexfalkowski/migrieren/config"
"github.com/alexfalkowski/migrieren/server/health"
v1 "github.com/alexfalkowski/migrieren/server/v1"
"go.uber.org/fx"
)
// ServerOptions for cmd.
var ServerOptions = []fx.Option{
runtime.Module, debug.Module, feature.Module,
compressor.Module, marshaller.Module,
telemetry.Module, metrics.Module,
config.Module, transport.Module, health.Module,
v1.Module, Module,
}