nacos

package module
v0.0.0-...-9b15f3e Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

This package provides Nacos dynamic data-source implementation for Sentinel.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NacosDataSource

type NacosDataSource struct {
	datasource.Base
	// contains filtered or unexported fields
}

func NewNacosDataSource

func NewNacosDataSource(client config_client.IConfigClient, group, dataId string, handlers ...datasource.PropertyHandler) (*NacosDataSource, error)

func (*NacosDataSource) Close

func (s *NacosDataSource) Close() error

func (*NacosDataSource) Initialize

func (s *NacosDataSource) Initialize() error

func (*NacosDataSource) ReadSource

func (s *NacosDataSource) ReadSource() ([]byte, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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