13 lines
337 B
Go
13 lines
337 B
Go
package emgql
|
|
|
|
// Config provides configuration for connecting to the Equinix Metal API provider.
|
|
type Config struct {
|
|
// BaseURL is the baseurl to use when connecting to the Equinix Metal API Provider.
|
|
BaseURL string
|
|
}
|
|
|
|
// Populated checks if any field has been populated.
|
|
func (c Config) Populated() bool {
|
|
return c.BaseURL != ""
|
|
}
|