Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig struct {
CommonConfig
}
type CommonConfig ¶
type ServiceConfig ¶
type ServiceConfig struct {
CommonConfig
Ctx context.Context
Cluster string // cluster name, defaults to "main"
Others map[string]int
PublicKey []byte
PrivateKey []byte
SwarmKey []byte
Databases kvdb.Factory
Location seerIface.Location
// Hosts binds custom domains to services (domains.hosts) for this config;
// applied via config.WithHosts. Mainly for Dream tests of host routing.
Hosts map[string]string
}
func (*ServiceConfig) Clone ¶
func (c *ServiceConfig) Clone() *ServiceConfig
type SimpleConfig ¶
type SimpleConfig struct {
CommonConfig
Clients map[string]ClientConfig
}
Directories
¶
| Path | Synopsis |
|---|---|
|
Package repositorytype defines the repository-kind enum shared between the config compiler, the tcc pipeline, and monkey.
|
Package repositorytype defines the repository-kind enum shared between the config compiler, the tcc pipeline, and monkey. |
Click to show internal directories.
Click to hide internal directories.