Mode had exactly one legal value after the previous commit deleted the in-process path, which made it dead config surface that could only confuse an operator into thinking there was still a real choice. ServiceConnection is now just a target address; composeChatContract only checks it's non-blank, defaulting to 127.0.0.1:8585.
13 lines
405 B
Go
13 lines
405 B
Go
package config
|
|
|
|
// Services selects contract adapters at application composition time.
|
|
type Services struct {
|
|
Gateway ServiceConnection `toml:"gateway" yaml:"gateway"`
|
|
}
|
|
|
|
// ServiceConnection is the archie-gateway process's gRPC address. It does not
|
|
// register services or start listeners. Changes require a daemon restart.
|
|
type ServiceConnection struct {
|
|
Target string `toml:"target" yaml:"target"`
|
|
}
|