Documentation
¶
Index ¶
Constants ¶
View Source
const HeaderContentType string = "content-type"
View Source
const HeaderContentTypeApplicationJson = "application/json"
View Source
const HeaderKey string = "key"
View Source
const HeaderPartition string = "partition"
View Source
const HeaderPartitionAny int32 = -1
View Source
const HeaderTopic string = "topic"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KafkaMessageAttr ¶
type KafkaMessageAttr struct {
// contains filtered or unexported fields
}
type KafkaUpstream ¶
type KafkaUpstream struct { // Embed the default plugin here, // so that we don't need to reimplement all the methods. plugin.Plugin }
func (*KafkaUpstream) Filter ¶
func (p *KafkaUpstream) Filter(conf interface{}, w http.ResponseWriter, r pkgHTTP.Request)
func (*KafkaUpstream) Name ¶
func (p *KafkaUpstream) Name() string
func (*KafkaUpstream) ParseConf ¶
func (p *KafkaUpstream) ParseConf(in []byte) (interface{}, error)
type KafkaUpstreamConf ¶
type KafkaUpstreamResponse ¶
Click to show internal directories.
Click to hide internal directories.