Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionResult ¶
type ActionResult struct {
// contains filtered or unexported fields
}
type FieldMapping ¶ added in v0.0.43
type TransformMapping ¶ added in v0.0.43
type TransformMapping struct { FromMessageName string `json:"fromMessageName"` ToMessageName string `json:"toMessageName"` FieldMappings []FieldMapping `json:"fieldMappings"` }
type TransformMappings ¶ added in v0.0.43
type TransformMappings struct { TransformMappings []TransformMapping `json:"transformMappings"` FromToIdx map[string]TransformMapping `json:"-"` MessageNameAliases map[string]string `json:"messageNameAliases"` }
type Transformer ¶
type Transformer struct {
// contains filtered or unexported fields
}
func NewTransformer ¶
func NewTransformer(transformMappings *TransformMappings, fileDescriptorProtos ...[]byte) (Transformer, error)
func NewTransformerRawProto ¶ added in v0.0.31
func NewTransformerRawProto(transformMappings *TransformMappings, rawProtos embed.FS, topLevelProtoDirName string) (Transformer, error)
Click to show internal directories.
Click to hide internal directories.