MCPcopy Create free account
hub / github.com/IBM/sarama / Encode

Method Encode

examples/http_server/http_server.go:165–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163}
164
165func (ale *accessLogEntry) Encode() ([]byte, error) {
166 ale.ensureEncoded()
167 return ale.encoded, ale.err
168}
169
170func (s *Server) withAccessLog(next http.Handler) http.Handler {
171 return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {

Callers

nothing calls this directly

Calls 1

ensureEncodedMethod · 0.95

Tested by

no test coverage detected