* Move the server daemons into their own package With this change the internal/server package now is dedicated to the server domain (workers and controllers) and not to the server daemons. The hope is that this will make it easier to keep the daemons decoupled from the representation of the servers in the database.
16 lines
376 B
Go
16 lines
376 B
Go
package worker
|
|
|
|
import (
|
|
"github.com/hashicorp/boundary/internal/cmd/base"
|
|
"github.com/hashicorp/boundary/internal/cmd/config"
|
|
)
|
|
|
|
type Config struct {
|
|
// The base Server object, containing things shared between Controllers and
|
|
// Workers
|
|
*base.Server
|
|
// The underlying configuration, passed in here to avoid duplicating values
|
|
// everywhere
|
|
RawConfig *config.Config
|
|
}
|