Documentation
¶
Index ¶
- Variables
- func CSMP_PIN_ELEM() (elems map[string][]PinElem)
- func CSMP_PIN_PARA() []byte
- func CSMP_PIN_SERVICE() (services map[string]map[string][]PinElem)
- func GetServiceNamesByDta(dta string) []string
- func Main()
- func ParseAllDtaParmXml() map[string]DataTransferAdapter
- func ParseAllFormatXml() map[string]Format
- func ParseAllRouteXml() map[string]map[string]Entrance
- func ParseAllServiceXml() map[string]map[string]Service
- type DataTransferAdapter
- type DtaSum
- type ESAdmin
- type ESAdminDtaNode
- type ESAdminDtaNodePort
- type ESAdminDtaParm
- type ESAdminIPTabItem
- type Entrance
- type Format
- type FormatItem
- type FormatTab
- type PinElem
- type Project
- type ProjectApp
- type ProjectDta
- type ProjectSubApp
- type RouteTab
- type Rule
- type Service
- type ServiceTab
Constants ¶
This section is empty.
Variables ¶
View Source
var ALALIST []string
View Source
var DTALIST []string
View Source
var DTAMAP map[string]DataTransferAdapter
View Source
var RUTMAP map[string]map[string]Entrance
View Source
var SVCMAP map[string]map[string]Service
Functions ¶
func CSMP_PIN_ELEM ¶
func CSMP_PIN_PARA ¶
func CSMP_PIN_PARA() []byte
func CSMP_PIN_SERVICE ¶
func GetServiceNamesByDta ¶ added in v0.0.16
func ParseAllDtaParmXml ¶
func ParseAllDtaParmXml() map[string]DataTransferAdapter
func ParseAllFormatXml ¶
func ParseAllRouteXml ¶ added in v0.0.18
func ParseAllServiceXml ¶
Types ¶
type DataTransferAdapter ¶
type DataTransferAdapter struct {
XMLName xml.Name `xml:"DataTransferAdapter"`
Name string `xml:"Name,attr"`
EvtIprtcfmtBegin string `xml:"EvtIprtcfmtBegin"`
EvtIprtcfmtEnd string `xml:"EvtIprtcfmtEnd"`
EvtIfmtEnd string `xml:"EvtIfmtEnd"`
EvtOfmtBegin string `xml:"EvtOfmtBegin"`
EvtOprtcfmtBegin string `xml:"EvtOprtcfmtBegin"`
ConvertPin bool
Services map[string]Service
NESB_SDTA_NAME string
NESB_DDTA_NAME string
}
type ESAdmin ¶ added in v0.0.12
type ESAdmin struct {
XMLName xml.Name `xml:"ESAdmin"`
DtaParms []ESAdminDtaParm `xml:"DtaParmTab>DtaParm"`
}
var ESADMIN ESAdmin
func ParseESAdminFile ¶ added in v0.0.12
func ParseESAdminFile() ESAdmin
type ESAdminDtaNode ¶ added in v0.0.14
type ESAdminDtaNode struct {
NodeName string `xml:"NodeName,attr"`
Port ESAdminDtaNodePort `xml:"PORTDefs>port"`
}
type ESAdminDtaNodePort ¶ added in v0.0.14
type ESAdminDtaParm ¶ added in v0.0.12
type ESAdminDtaParm struct {
DtaName string `xml:"DtaName,attr"`
DtaDesc string `xml:"DtaDesc,attr"`
IPTabItems []ESAdminIPTabItem `xml:"DtaMchTab>DtaMch>IPTab>Item"`
Nodes []ESAdminDtaNode `xml:"DtaNodeTab>DtaNode"`
}
type ESAdminIPTabItem ¶ added in v0.0.13
type ESAdminIPTabItem struct {
Port string `xml:"Port,attr"`
}
type Format ¶
type Format struct {
FmtName string `xml:"FmtName,attr"`
FmtType string `xml:"FmtType,attr"`
Items []FormatItem `xml:"ItemTab>Item"`
SubFmts []string
}
type FormatItem ¶
type Project ¶ added in v0.0.10
type Project struct {
XMLName xml.Name `xml:"Project"`
PubDtas []ProjectDta `xml:"PubDtaTab>PubDta"`
Apps []ProjectApp `xml:"AppTab>App"`
}
var PROJECT Project
func ParseProjectFile ¶ added in v0.0.10
func ParseProjectFile() Project
type ProjectApp ¶ added in v0.0.10
type ProjectApp struct {
Name string `xml:"Name,attr"`
Desc string `xml:"Desc,attr"`
Format string `xml:"Format,attr"`
Sign string `xml:"Sign,attr"`
CustCFunc string `xml:"CustCFunc,attr"`
Flow string `xml:"Flow,attr"`
DataElem string `xml:"DataElem,attr"`
SubApps []ProjectSubApp `xml:"SubAppTab>SubApp"`
}
type ProjectDta ¶ added in v0.0.10
type ProjectDta struct {
Name string `xml:"Name,attr"`
Desc string `xml:"Desc,attr"`
DtaParm string `xml:"DtaParm,attr"`
CustCFunc string `xml:"CustCFunc,attr"`
DataElem string `xml:"DataElem,attr"`
Format string `xml:"Format,attr"`
Sign string `xml:"Sign,attr"`
Service string `xml:"Service,attr"`
Route string `xml:"Route,attr"`
}
type ProjectSubApp ¶ added in v0.0.10
type ProjectSubApp struct {
Name string `xml:"Name,attr"`
Desc string `xml:"Desc,attr"`
AlaParm string `xml:"AlaParm,attr"`
Format string `xml:"Format,attr"`
Sign string `xml:"Sign,attr"`
Flow string `xml:"Flow,attr"`
DataElem string `xml:"DataElem,attr"`
CustCFunc string `xml:"CustCFunc,attr"`
SvcLogic string `xml:"SvcLogic,attr"`
Dtas []ProjectDta `xml:"DtaTab>Dta"`
}
type Service ¶
type Service struct {
Name string `xml:"Name,attr"`
IFmt string `xml:"IFmt,attr"`
EvtIfmtBegin string `xml:"EvtIfmtBegin"`
EvtIfmtEnd string `xml:"EvtIfmtEnd"`
EvtAcallBegin string `xml:"EvtAcallBegin"`
NESB_SDTA_NAME string
ConvertPin bool
PinElems []PinElem
Matched []PinElem
TcElems []string
By string
}
type ServiceTab ¶
Click to show internal directories.
Click to hide internal directories.