nacos

package
v0.0.0-...-3a05b22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL