Documentation ¶
Overview ¶
Package api contains shared type definisions used by several modules part of the jsii runtime for go. It helps avoid creating circular dependencies between the other modules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsMethodOverride ¶
func IsPropertyOverride ¶
Types ¶
type MethodOverride ¶
type MethodOverride struct { JsiiMethod string `json:"method"` GoMethod string `json:"cookie"` // contains filtered or unexported fields }
MethodOverride is used to register a "go-native" implementation to be substituted to the default javascript implementation on the created object.
func (MethodOverride) GoName ¶
func (m MethodOverride) GoName() string
type ObjectRef ¶
type Override ¶
type Override interface { GoName() string // contains filtered or unexported methods }
Override is a public interface implementing a private method `isOverride` implemented by the private custom type `override`. This is embedded by MethodOverride and PropertyOverride to simulate the union type of Override = MethodOverride | PropertyOverride.
type PropertyOverride ¶
type PropertyOverride struct { JsiiProperty string `json:"property"` GoGetter string `json:"cookie"` // contains filtered or unexported fields }
PropertyOverride is used to register a "go-native" implementation to be substituted to the default javascript implementation on the created object.
func (PropertyOverride) GoName ¶
func (m PropertyOverride) GoName() string
type StructDescriptor ¶
type WireStruct ¶
type WireStruct struct {
StructDescriptor `json:"$jsii.struct"`
}