Documentation ¶
Overview ¶
Package engineconfig builds configuration for an engine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FerriteRegistry = ferrite.NewRegistry( "dogmatiq.veracity", "Veracity", ferrite.WithDocumentationURL("https://github.com/dogmatiq/veracity#readme"), )
FerriteRegistry is a registry of the environment variables used by Veracity.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { UseEnv bool SiteID *identitypb.Identity NodeID *uuidpb.UUID Telemetry *telemetry.Provider Tasks []func(context.Context) error Persistence struct { Journals journal.BinaryStore Keyspaces kv.BinaryStore } GRPC struct { DialOptions []grpc.DialOption ServerOptions []grpc.ServerOption ListenAddress string AdvertiseAddresses []string } Application struct { Executors map[reflect.Type]dogma.CommandExecutor } }
Config encapsulates the configuration of a [veracity.Engine], built by applying [veracity.EngineOption] functions, and visiting the configkit.RichApplication that represents the Dogma application that the engine hosts.
Click to show internal directories.
Click to hide internal directories.