target

package
v0.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2023 License: AGPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func LoadTt

func LoadTt()

func NewCodecTarget

func NewCodecTarget(rx typex.RuleX) typex.XTarget

func NewHTTPTarget

func NewHTTPTarget(e typex.RuleX) typex.XTarget

func NewMongoTarget

func NewMongoTarget(e typex.RuleX) typex.XTarget

func NewMqttTarget

func NewMqttTarget(e typex.RuleX) typex.XTarget

func NewNatsTarget

func NewNatsTarget(e typex.RuleX) typex.XTarget

func NewSqliteTarget

func NewSqliteTarget(e typex.RuleX) typex.XTarget

func NewTTcpTarget added in v0.6.4

func NewTTcpTarget(e typex.RuleX) typex.XTarget

* * TCP 透传模式 *

func NewTdEngineTarget

func NewTdEngineTarget(e typex.RuleX) typex.XTarget

func NewUdpTarget

func NewUdpTarget(e typex.RuleX) typex.XTarget

func NewUserG776 added in v0.5.1

func NewUserG776(e typex.RuleX) typex.XTarget

Types

type HTTPTarget

type HTTPTarget struct {
	typex.XStatus
	// contains filtered or unexported fields
}

func (*HTTPTarget) Details

func (ht *HTTPTarget) Details() *typex.OutEnd

func (*HTTPTarget) Init

func (ht *HTTPTarget) Init(outEndId string, configMap map[string]interface{}) error

func (*HTTPTarget) Start

func (ht *HTTPTarget) Start(cctx typex.CCTX) error

func (*HTTPTarget) Status

func (ht *HTTPTarget) Status() typex.SourceState

func (*HTTPTarget) Stop

func (ht *HTTPTarget) Stop()

func (*HTTPTarget) To

func (ht *HTTPTarget) To(data interface{}) (interface{}, error)

type SqliteTarget

type SqliteTarget struct {
	typex.XStatus
	// contains filtered or unexported fields
}

func (*SqliteTarget) Details

func (sqt *SqliteTarget) Details() *typex.OutEnd

func (*SqliteTarget) Init

func (sqt *SqliteTarget) Init(outEndId string, configMap map[string]interface{}) error

func (*SqliteTarget) Start

func (sqt *SqliteTarget) Start(cctx typex.CCTX) error

func (*SqliteTarget) Status

func (sqt *SqliteTarget) Status() typex.SourceState

func (*SqliteTarget) Stop

func (sqt *SqliteTarget) Stop()

func (*SqliteTarget) To

func (sqt *SqliteTarget) To(data interface{}) (interface{}, error)

* * 数据转存SQLITE *

type TTcpTarget added in v0.6.4

type TTcpTarget struct {
	typex.XStatus
	// contains filtered or unexported fields
}

func (*TTcpTarget) Details added in v0.6.4

func (ht *TTcpTarget) Details() *typex.OutEnd

func (*TTcpTarget) Init added in v0.6.4

func (ht *TTcpTarget) Init(outEndId string, configMap map[string]interface{}) error

func (*TTcpTarget) Start added in v0.6.4

func (ht *TTcpTarget) Start(cctx typex.CCTX) error

func (*TTcpTarget) Status added in v0.6.4

func (ht *TTcpTarget) Status() typex.SourceState

func (*TTcpTarget) Stop added in v0.6.4

func (ht *TTcpTarget) Stop()

func (*TTcpTarget) To added in v0.6.4

func (ht *TTcpTarget) To(data interface{}) (interface{}, error)

* * 透传模式:字符串和十六进制 *

type UdpTarget

type UdpTarget struct {
	typex.XStatus
	// contains filtered or unexported fields
}

* * 数据推到UDP *

func (*UdpTarget) Details

func (udpt *UdpTarget) Details() *typex.OutEnd

func (*UdpTarget) Init

func (udpt *UdpTarget) Init(outEndId string, configMap map[string]interface{}) error

func (*UdpTarget) Start

func (udpt *UdpTarget) Start(cctx typex.CCTX) error

func (*UdpTarget) Status

func (udpt *UdpTarget) Status() typex.SourceState

func (*UdpTarget) Stop

func (udpt *UdpTarget) Stop()

func (*UdpTarget) To

func (udpt *UdpTarget) To(data interface{}) (interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL