Documentation ¶
Index ¶
- type ConfigClient
- func (c *ConfigClient) CancelListenConfig(params vo.ConfigParam) (err error)
- func (c *ConfigClient) DeleteConfig(param vo.ConfigParam) (bool, error)
- func (c *ConfigClient) GetConfig(param vo.ConfigParam) (string, error)
- func (c *ConfigClient) ListenConfig(params vo.ConfigParam) (err error)
- func (c *ConfigClient) PublishConfig(param vo.ConfigParam) (bool, error)
- func (c *ConfigClient) SearchConfig(param vo.SearchConfigParm) (*model.ConfigPage, error)
- type ConfigClientIOCInterface
- type Param
- type ThisConfigClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigClient ¶
type ConfigClient struct {
config_client.IConfigClient
}
func GetConfigClient ¶
func GetConfigClient(p *Param) (*ConfigClient, error)
func GetConfigClientSingleton ¶
func GetConfigClientSingleton(p *Param) (*ConfigClient, error)
func (*ConfigClient) CancelListenConfig ¶
func (c *ConfigClient) CancelListenConfig(params vo.ConfigParam) (err error)
func (*ConfigClient) DeleteConfig ¶
func (c *ConfigClient) DeleteConfig(param vo.ConfigParam) (bool, error)
func (*ConfigClient) GetConfig ¶
func (c *ConfigClient) GetConfig(param vo.ConfigParam) (string, error)
func (*ConfigClient) ListenConfig ¶
func (c *ConfigClient) ListenConfig(params vo.ConfigParam) (err error)
func (*ConfigClient) PublishConfig ¶
func (c *ConfigClient) PublishConfig(param vo.ConfigParam) (bool, error)
func (*ConfigClient) SearchConfig ¶
func (c *ConfigClient) SearchConfig(param vo.SearchConfigParm) (*model.ConfigPage, error)
type ConfigClientIOCInterface ¶
type ConfigClientIOCInterface interface { GetConfig(param vo.ConfigParam) (string, error) PublishConfig(param vo.ConfigParam) (bool, error) DeleteConfig(param vo.ConfigParam) (bool, error) ListenConfig(params vo.ConfigParam) (err error) CancelListenConfig(params vo.ConfigParam) (err error) SearchConfig(param vo.SearchConfigParm) (*model.ConfigPage, error) }
func GetConfigClientIOCInterface ¶
func GetConfigClientIOCInterface(p *Param) (ConfigClientIOCInterface, error)
func GetConfigClientIOCInterfaceSingleton ¶
func GetConfigClientIOCInterfaceSingleton(p *Param) (ConfigClientIOCInterface, error)
type Param ¶
type Param struct {
vo.NacosClientParam
}
func (*Param) New ¶
func (c *Param) New(impl *ConfigClient) (*ConfigClient, error)
type ThisConfigClient ¶
type ThisConfigClient struct { }
func (*ThisConfigClient) This ¶
func (t *ThisConfigClient) This() ConfigClientIOCInterface
Click to show internal directories.
Click to hide internal directories.