listener

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomListener

type CustomListener struct {
	NamespaceStruct map[string]interface{} // namespace to struct
	NamespaceFile   map[string]string      // TODO namespace file dir, used to backup
	CustomListener  Listener
}

type Listener

type Listener interface {
	storage.ChangeListener
	InitConfig(client agollo.Client, namespaceStruct map[string]interface{})
	GetNamespace(namespace string) (interface{}, bool)
}

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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