Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTranslator ¶
func NewTranslator(opts ...common.TranslatorOption) common.Translator[component.Config]
func WithConfigKey ¶ added in v1.300048.0
func WithConfigKey(configKey string) common.TranslatorOption
func WithDataType ¶
func WithDataType(dataType component.DataType) common.TranslatorOption
WithDataType determines where the translator should look to find the configuration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.