Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClassInfo ¶
type ClassInfo struct { Name string `json:"name"` Properties []Property `json:"properties"` Description string `json:"description"` RootName string `json:"rootName"` }
ClassInfo holds info of a Class in .tl file
type EnumInfo ¶
type EnumInfo struct { EnumType string `json:"enumType"` Items []EnumInfoItem `json:"items"` }
EnumInfo ...
type EnumInfoItem ¶
type FunctionInfo ¶
type FunctionInfo struct { Name string `json:"name"` Properties []Property `json:"properties"` Description string `json:"description"` ReturnType string `json:"return_type"` IsSynchronous bool `json:"is_synchronous"` }
FunctionInfo holds info of a function in .tl file
type InterfaceInfo ¶
InterfaceInfo equals to abstract base classes in .tl file
type Property ¶
type Property struct { Name string `json:"name"` Type string `json:"type"` Description string `json:"description"` }
Property holds info about properties of a class (or function)
type TlSchema ¶
type TlSchema struct { Enums []*EnumInfo Interfaces []*InterfaceInfo Classes []*ClassInfo Functions []*FunctionInfo }
Click to show internal directories.
Click to hide internal directories.