Documentation
¶
Index ¶
Constants ¶
View Source
const ( KeyRawData = "raw_data" KeyData = "data" KeyOthers = "others" KeyIgnore = "ignore" )
View Source
const PluginRaw = "raw"
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProvider(ctx context.Context, cfg cmap.CustomMap, formatter cfgTY.FormatterScript) (providerType.Plugin, error)
Types ¶
type RawProvider ¶
type RawProvider struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, name string, formatter cfgTY.FormatterScript) (*RawProvider, error)
func (*RawProvider) Name ¶
func (rp *RawProvider) Name() string
func (*RawProvider) ToMQTTMessage ¶
func (*RawProvider) ToSourceMessage ¶
Click to show internal directories.
Click to hide internal directories.