Documentation ¶
Index ¶
- func RegisterConfigFilter(chain IConfigFilterChain, filter IConfigFilter) error
- type DefaultConfigEncryptionFilter
- type DefaultConfigFilterChainManager
- func (m *DefaultConfigFilterChainManager) AddFilter(filter IConfigFilter) error
- func (m *DefaultConfigFilterChainManager) DoFilterByName(param *vo.ConfigParam, name string) error
- func (m *DefaultConfigFilterChainManager) DoFilters(param *vo.ConfigParam) error
- func (m *DefaultConfigFilterChainManager) GetFilters() []IConfigFilter
- type IConfigFilter
- type IConfigFilterChain
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterConfigFilter ¶
func RegisterConfigFilter(chain IConfigFilterChain, filter IConfigFilter) error
Types ¶
type DefaultConfigEncryptionFilter ¶
type DefaultConfigEncryptionFilter struct { }
func (*DefaultConfigEncryptionFilter) DoFilter ¶
func (d *DefaultConfigEncryptionFilter) DoFilter(param *vo.ConfigParam) error
func (*DefaultConfigEncryptionFilter) GetFilterName ¶
func (d *DefaultConfigEncryptionFilter) GetFilterName() string
func (*DefaultConfigEncryptionFilter) GetOrder ¶
func (d *DefaultConfigEncryptionFilter) GetOrder() int
type DefaultConfigFilterChainManager ¶
type DefaultConfigFilterChainManager struct {
// contains filtered or unexported fields
}
func (*DefaultConfigFilterChainManager) AddFilter ¶
func (m *DefaultConfigFilterChainManager) AddFilter(filter IConfigFilter) error
func (*DefaultConfigFilterChainManager) DoFilterByName ¶
func (m *DefaultConfigFilterChainManager) DoFilterByName(param *vo.ConfigParam, name string) error
func (*DefaultConfigFilterChainManager) DoFilters ¶
func (m *DefaultConfigFilterChainManager) DoFilters(param *vo.ConfigParam) error
func (*DefaultConfigFilterChainManager) GetFilters ¶
func (m *DefaultConfigFilterChainManager) GetFilters() []IConfigFilter
type IConfigFilter ¶
type IConfigFilter interface { DoFilter(*vo.ConfigParam) error GetOrder() int GetFilterName() string }
func GetDefaultConfigEncryptionFilter ¶
func GetDefaultConfigEncryptionFilter() IConfigFilter
type IConfigFilterChain ¶
type IConfigFilterChain interface { AddFilter(IConfigFilter) error GetFilters() []IConfigFilter DoFilters(*vo.ConfigParam) error DoFilterByName(*vo.ConfigParam, string) error }
func GetDefaultConfigFilterChainManager ¶
func GetDefaultConfigFilterChainManager() IConfigFilterChain
Click to show internal directories.
Click to hide internal directories.