Documentation
¶
Index ¶
Constants ¶
View Source
const ( KafkaType = "kafka" PulsarType = "pulsar" RabbitmqType = "rabbitmq" )
View Source
const ( TokenAuthenticationType = "TOKEN" TLSAuthenticationType = "SSL/TLS" ClientAuthenticationType = "SASL/PLAIN" NoneAuthenticationType = "NONE" )
Security mechanism constants
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AmpqChannel ¶
type Event ¶
type Event struct { Id string `json:"id,omitempty" yaml:"id,omitempty"` Type string `json:"type,omitempty" yaml:"type,omitempty"` Domain string `json:"domain,omitempty" yaml:"domain,omitempty"` Src string `json:"source,omitempty" yaml:"source,omitempty"` Version string `json:"version,omitempty" yaml:"version,omitempty"` Properties json.RawMessage `json:"properties,omitempty" yaml:"properties,omitempty"` PublishedAt time.ISODatetime `json:"published_at,omitempty" yaml:"published_at,omitempty"` TriggeredBy string `json:"triggered_by,omitempty" yaml:"triggered_by,omitempty"` }
type KafkaChannel ¶
type KafkaChannel struct {
// contains filtered or unexported fields
}
func (*KafkaChannel) Accept ¶
func (instance *KafkaChannel) Accept(event Event) error
func (*KafkaChannel) Close ¶
func (instance *KafkaChannel) Close() error
func (*KafkaChannel) GetType ¶
func (instance *KafkaChannel) GetType() string
type KafkaProducer ¶
type PulsarChannel ¶
type PulsarChannel struct {
// contains filtered or unexported fields
}
func (*PulsarChannel) Accept ¶
func (instance *PulsarChannel) Accept(event Event) error
func (*PulsarChannel) Close ¶
func (instance *PulsarChannel) Close() error
func (*PulsarChannel) GetType ¶
func (instance *PulsarChannel) GetType() string
type PulsarProducer ¶
type RabbitmqChannel ¶
type RabbitmqChannel struct {
// contains filtered or unexported fields
}
func (*RabbitmqChannel) Accept ¶
func (instance *RabbitmqChannel) Accept(event Event) error
func (*RabbitmqChannel) Close ¶
func (instance *RabbitmqChannel) Close() error
func (*RabbitmqChannel) GetType ¶
func (instance *RabbitmqChannel) GetType() string
Click to show internal directories.
Click to hide internal directories.