Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentConfig ¶
type AgentConfig struct { CentralCfg corecfg.CentralConfig `config:"central"` GatewayCfg *WSO2Config `config:"wso2"` }
AgentConfig - represents the config for agent
type WSO2Config ¶
type WSO2Config struct { corecfg.IConfigValidator Basepath string `config:"basepath"` TokenEndpoint string `config:"tokenEndpoint"` Username string `config:"username"` Password string `config:"password"` ClientSecret string `config:"clientSecret"` ClientID string `config:"clientId"` Tag string `config:"tag"` Scope string `config:"scope"` }
WSO2Config - represents the config for WSO2gateway
func (*WSO2Config) ValidateCfg ¶
func (c *WSO2Config) ValidateCfg() (err error)
ValidateCfg - Validates the gateway config
Click to show internal directories.
Click to hide internal directories.