config

package
v0.0.0-...-523a819 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	//configproto返回当前配置
	ConfigProto() *cb.Config

	//ProposeConfigUpdate尝试根据当前配置状态验证新的configtx
	ProposeConfigUpdate(configtx *cb.Envelope) (*cb.ConfigEnvelope, error)
}

config封装config(通道或资源)树

type Manager

type Manager interface {
	//getchannelconfig定义与通道配置相关的方法
	GetChannelConfig(channel string) Config
}

管理器提供对资源配置的访问

Jump to

Keyboard shortcuts

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