Documentation
¶
Index ¶
Constants ¶
View Source
const ( // EnvLocal indicates that the service is running locally. EnvLocal = "local" // EnvDevelopment indicates that the service is running in a development environment. EnvDevelopment = "development" )
Variables ¶
View Source
var Module = fx.Options( gateway.Module, handler.Module, jsonrpcfx.Module, fs.Module, executor.Module, serverinfofile.Module, workspaceutils.Module, core.ConfigModule, core.LoggerModule, fx.Provide(notifier.New), fx.Provide(func(lc fx.Lifecycle) tally.Scope { rs, closer := tally.NewRootScope(tally.ScopeOptions{ Tags: map[string]string{ "service": "ulsp-daemon", }, }, 1*time.Second) lc.Append(fx.Hook{ OnStop: func(ctx context.Context) error { return closer.Close() }, }) return rs }), fx.Decorate(decorateEnvContext), fx.Decorate(decorateConfigProvider), fx.Provide(func() Context { return Context{ Environment: "local", RuntimeEnvironment: "local", } }), )
Module defines the ulsp-daemon application module.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.