ProtobufEncoder is a protobuf implementation for EncodedConn This encoder will use the builtin protobuf lib to Marshal and Unmarshal structs. Deprecated: Encoded connections are no longer supported.
| 38 | // |
| 39 | // Deprecated: Encoded connections are no longer supported. |
| 40 | type ProtobufEncoder struct { |
| 41 | // Empty |
| 42 | } |
| 43 | |
| 44 | var ( |
| 45 | ErrInvalidProtoMsgEncode = errors.New("nats: Invalid protobuf proto.Message object passed to encode") |
nothing calls this directly
no outgoing calls
no test coverage detected