Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NatsSink ¶
type NatsSink struct {
// contains filtered or unexported fields
}
func NewKNatsSink ¶
func NewKNatsSink(cfg *NatsSinkConf) *NatsSink
NewKNatsSink creates a new sink object given the conf
type NatsSinkConf ¶
type NatsSinkConf struct { sink.SinkConfCommon `json:",inline" yaml:",inline"` ServerUrl string `json:"serverUrl" yaml:"serverUrl"` Subject string `json:"subject" yaml:"subject"` }
Click to show internal directories.
Click to hide internal directories.