Discover Packages
github.com/SysUtils/1c-gateway
shared
package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Jun 4, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package shared provides shared types
type Association struct {
Name string `xml:"Name,attr"`
Ends []End `xml:"End"`
}
type DataServices struct {
Schema Schema
}
type End struct {
Role string `xml:"Role,attr"`
Type string `xml:"Type,attr"`
}
type Function struct {
Name string `xml:"Name,attr"`
Type string `xml:"ReturnType,attr"`
IsBindable bool `xml:"IsBindable,attr"`
IsSideEffecting bool `xml:"IsSideEffecting,attr"`
Parameters []Parameter `xml:"Parameter"`
}
type NavProp struct {
Name string `xml:"Name,attr"`
Type string `xml:"Relationship,attr"`
FromRole string `xml:"FromRole,attr"`
ToRole string `xml:"ToRole,attr"`
}
type OneCType struct {
Name string `xml:"Name,attr"`
Keys []PropertyRef `xml:"Key>PropertyRef"`
Properties []Property `xml:"Property"`
Navigations []NavProp `xml:"NavigationProperty"`
}
type Parameter struct {
Name string `xml:"Name,attr"`
Type string `xml:"Type,attr"`
}
type Property struct {
Name string `xml:"Name,attr"`
Type string `xml:"Type,attr"`
Nullable bool `xml:"Nullable,attr"`
}
type PropertyRef struct {
Name string `xml:"Name,attr"`
Type string
}
type Schema struct {
Name string `xml:"Name,attr"`
Namespace string `xml:"Namespace,attr"`
Entities []OneCType `xml:"EntityType"`
Complexes []OneCType `xml:"ComplexType"`
Association []Association
Functions []Function `xml:"EntityContainer>FunctionImport"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.