Documentation ¶
Index ¶
- type ArchiveParserRule
- type ExtensionInfo
- type ExtensionKey
- type ExtensionParser
- func (ep *ExtensionParser) AllowedExtension(extension string) bool
- func (ep *ExtensionParser) ExtensionParsing(addon string, extensionsChainMessage ExtensionsChainMessage, ...)
- func (ep *ExtensionParser) GetConfiguredExtensions() map[ExtensionKey]*spectypes.Extension
- func (ep *ExtensionParser) GetExtension(extension ExtensionKey) *spectypes.Extension
- func (ep *ExtensionParser) SetConfiguredExtensions(configuredExtensions map[ExtensionKey]*spectypes.Extension)
- type ExtensionParserRule
- type ExtensionsChainMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveParserRule ¶
type ArchiveParserRule struct {
// contains filtered or unexported fields
}
type ExtensionInfo ¶
type ExtensionKey ¶
type ExtensionParser ¶
type ExtensionParser struct {
// contains filtered or unexported fields
}
func NewExtensionParser ¶ added in v3.2.0
func NewExtensionParser(allowedExtensions map[string]struct{}, configuredExtensions map[ExtensionKey]*spectypes.Extension) ExtensionParser
func (*ExtensionParser) AllowedExtension ¶
func (ep *ExtensionParser) AllowedExtension(extension string) bool
func (*ExtensionParser) ExtensionParsing ¶
func (ep *ExtensionParser) ExtensionParsing(addon string, extensionsChainMessage ExtensionsChainMessage, latestBlock uint64)
func (*ExtensionParser) GetConfiguredExtensions ¶
func (ep *ExtensionParser) GetConfiguredExtensions() map[ExtensionKey]*spectypes.Extension
func (*ExtensionParser) GetExtension ¶
func (ep *ExtensionParser) GetExtension(extension ExtensionKey) *spectypes.Extension
func (*ExtensionParser) SetConfiguredExtensions ¶
func (ep *ExtensionParser) SetConfiguredExtensions(configuredExtensions map[ExtensionKey]*spectypes.Extension)
type ExtensionParserRule ¶
type ExtensionParserRule interface {
// contains filtered or unexported methods
}
func NewExtensionParserRule ¶
func NewExtensionParserRule(extension *spectypes.Extension) ExtensionParserRule
Click to show internal directories.
Click to hide internal directories.