View definition

type StringEncoder

Defined in github.com/Shopify/sarama/utils.go

Description

StringEncoder implements the Encoder interface for Go strings so that they can be used as the Key or Value in a ProducerMessage.