package builtin
Import Path
github.com/nats-io/nats.go/encoders/builtin (on go.dev)
Dependency Relation
imports 8 packages, and imported by one package
Package-Level Type Names (total 3)
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 you should use JsonEncoder.
Deprecated: Encoded connections are no longer supported.
Decode
Deprecated: Encoded connections are no longer supported.
Encode
Deprecated: Encoded connections are no longer supported.
*DefaultEncoder : github.com/nats-io/nats.go.Encoder
GobEncoder is a Go specific GOB Encoder implementation for EncodedConn.
This encoder will use the builtin encoding/gob to Marshal
and Unmarshal most types, including structs.
Deprecated: Encoded connections are no longer supported.
Decode
Deprecated: Encoded connections are no longer supported.
Encode
Deprecated: Encoded connections are no longer supported.
*GobEncoder : github.com/nats-io/nats.go.Encoder
JsonEncoder is a JSON Encoder implementation for EncodedConn.
This encoder will use the builtin encoding/json to Marshal
and Unmarshal most types, including structs.
Deprecated: Encoded connections are no longer supported.
Decode
Deprecated: Encoded connections are no longer supported.
Encode
Deprecated: Encoded connections are no longer supported.
*JsonEncoder : github.com/nats-io/nats.go.Encoder
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |