parser

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbstractParser

type AbstractParser struct {
	Parserfactory OfsResponseParserFactory
}

func (*AbstractParser) ParseData

func (a *AbstractParser) ParseData(ofsResponseData string) ([]model.OfsDataField, error)

type OfsResponseDataParser

type OfsResponseDataParser interface {
	GetOfsName() string
	GetOfsValue() string
	GetMvPosition() int
	GetSvPosition() int
}

OfsResponseDataParser is an interface for parsing OFS response data.

type OfsResponseParserFactory

type OfsResponseParserFactory interface {
	GetOfsResponseParser(responseData string) (OfsResponseDataParser, error)
}

type ResponseDataParser

type ResponseDataParser interface {
	ParseResponseData(responseName, ofsResponse string) (model.Response, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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