* 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.
18 lines
483 B
Go
18 lines
483 B
Go
package controller
|
|
|
|
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
|
|
// If set, authorization checking occurrs but failures are ignored
|
|
DisableAuthorizationFailures bool
|
|
}
|