-
Notifications
You must be signed in to change notification settings - Fork 1
/
server.go
27 lines (25 loc) · 945 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
26
27
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/konfig/config"
"github.com/alexfalkowski/konfig/provider"
"github.com/alexfalkowski/konfig/server/health"
v1 "github.com/alexfalkowski/konfig/server/v1"
"github.com/alexfalkowski/konfig/source"
"go.uber.org/fx"
)
// ServerOptions for cmd.
var ServerOptions = []fx.Option{
runtime.Module, debug.Module, feature.Module,
compressor.Module, marshaller.Module,
metrics.Module, telemetry.Module, health.Module,
transport.Module, config.Module, provider.Module,
source.Module, v1.Module, Module,
}