Versions in this module Expand all Collapse all v1 v1.5.4 Oct 26, 2023 Changes in this version + const ConfigFileTagKeyDataKey + const ConfigFileTagKeyEncryptAlgo + const ConfigFileTagKeyUseEncrypted + type ConfigConnector interface + GetConfigFile func(configFile *ConfigFile) (*ConfigFileResponse, error) + WatchConfigFiles func(configFileList []*ConfigFile) (*ConfigFileResponse, error) + type ConfigFile struct + Encrypted bool + FileGroup string + FileName string + Md5 string + Namespace string + PublicKey string + SourceContent string + Tags []*ConfigFileTag + Version uint64 + func (c *ConfigFile) GetContent() string + func (c *ConfigFile) GetDataKey() string + func (c *ConfigFile) GetEncryptAlgo() string + func (c *ConfigFile) GetEncrypted() bool + func (c *ConfigFile) GetFileGroup() string + func (c *ConfigFile) GetFileName() string + func (c *ConfigFile) GetMd5() string + func (c *ConfigFile) GetNamespace() string + func (c *ConfigFile) GetPublicKey() string + func (c *ConfigFile) GetSourceContent() string + func (c *ConfigFile) GetVersion() uint64 + func (c *ConfigFile) SetContent(v string) + func (c *ConfigFile) String() string + type ConfigFileResponse struct + Code uint32 + ConfigFile *ConfigFile + Message string + func (c *ConfigFileResponse) GetCode() uint32 + func (c *ConfigFileResponse) GetConfigFile() *ConfigFile + func (c *ConfigFileResponse) GetMessage() string + type ConfigFileTag struct + Key string + Value string + type Proxy struct + func (p *Proxy) GetConfigFile(configFile *ConfigFile) (*ConfigFileResponse, error) + func (p *Proxy) SetRealPlugin(pg plugin.Plugin, engine model.Engine) + func (p *Proxy) WatchConfigFiles(configFileList []*ConfigFile) (*ConfigFileResponse, error)