DefaultEncoder implementation for EncodedConn. This encoder will leave []byte and string untouched, but will attempt to turn numbers into appropriate strings that can be decoded. It will also properly encoded and decode bools. If will encode a struct, but if you want to properly handle structures yo
| 29 | // |
| 30 | // Deprecated: Encoded connections are no longer supported. |
| 31 | type DefaultEncoder struct { |
| 32 | // Empty |
| 33 | } |
| 34 | |
| 35 | var trueB = []byte("true") |
| 36 | var falseB = []byte("false") |
nothing calls this directly
no outgoing calls
no test coverage detected