Versions in this module Expand all Collapse all v1 v1.0.0 May 16, 2020 Changes in this version + func InitializePostProcessors(processorConfigs []ProcessorConfig) (blocks []dvmeta.ProcessorBlock) + func InitializeProcessors(processorConfigs []ProcessorConfig) (blocks []dvmeta.ProcessorBlock) + func MakeComplexReplacement(src []byte, k string, neue string) []byte + func MakePostProcessorGlobalInitialization(processorInits map[string]map[string]string) + func MakeProcessorGlobalInitialization(processorInits map[string]map[string]string) + func MakeSimpleReplacement(src []byte, old []byte, neue []byte) []byte + func MoveInTextByMoveKind(src []byte, lim int, pos int, posLast int, points int, kind int, where int) int + func MoveLinesInText(src []byte, lim int, pos int, lines int, dir int) int + func MoveWordsInText(src []byte, lim int, pos int, words int, dir int) int + func RegisterPostProcessor(config *RegistrationConfig, silent bool) bool + func RegisterProcessor(config *RegistrationConfig, silent bool) bool + func ReplacerHandler(request *dvmeta.RequestContext) bool + func SearchTextBySearchKind(src []byte, startLimit int, endLimit int, search []byte, dir int, ...) (start int, end int, ok bool) + type ProcessorConfig struct + Name string + Params []string + Urls string + type ProcessorGlobalInitHandler func(map[string]string) error + type ProcessorServerInitHandler func(params []string) (map[string]string, error) + type RegistrationConfig struct + EndPointHandler dvmeta.ProcessorEndPointHandler + GlobalInitHandler ProcessorGlobalInitHandler + Name string + ServerInitHandler ProcessorServerInitHandler + func GetRegisteredConfig(name string, silent bool) *RegistrationConfig + func GetRegisteredConfigForPost(name string, silent bool) *RegistrationConfig