View definition

type NewCodec func(ReadWriteCloser) Codec

Defined in github.com/micro/go-micro/codec/codec.go

Description

Takes in a connection/buffer and returns a new Codec