scope_manager

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IManager

type IManager interface {
	Get(scopeName string) IProxyOutput
	Set(name string, value interface{}, scopes []string)
	Del(name string)
}

func NewManager

func NewManager() IManager

type IProxy

type IProxy interface {
	Set(values []interface{})
	IProxyOutput
}

type IProxyOutput

type IProxyOutput interface {
	List() []interface{}
}

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func (*Manager) Del

func (m *Manager) Del(name string)

func (*Manager) Get

func (m *Manager) Get(scopeName string) IProxyOutput

func (*Manager) Set

func (m *Manager) Set(name string, value interface{}, scopes []string)

type Proxy

type Proxy struct {
	// contains filtered or unexported fields
}

func NewProxy

func NewProxy() *Proxy

func (*Proxy) List

func (p *Proxy) List() []interface{}

func (*Proxy) Set

func (p *Proxy) Set(values []interface{})

Jump to

Keyboard shortcuts

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