Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultGatewayURL = "https://gateway.agyn.dev" ConfigDir = ".agyn" ConfigFile = "config.yaml" CredentialsFile = "credentials" GatewayURLEnv = "AGYN_GATEWAY_URL" GatewayAddressEnv = "GATEWAY_ADDRESS" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Gateway GatewayConfig `yaml:"gateway"`
}
func (*Config) ResolveGatewayTarget ¶
func (c *Config) ResolveGatewayTarget(flagURL string) GatewayTarget
func (*Config) ResolveGatewayURL ¶
type GatewayConfig ¶
type GatewayConfig struct {
URL string `yaml:"url"`
}
type GatewayTarget ¶
Click to show internal directories.
Click to hide internal directories.