Discover Packages
github.com/philippgille/gokv/encoding/protobuf
package
module
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: Jan 28, 2024
License: MPL-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
Convenience variable for simpler usage in gokv store options.
options := redis.Options{
Encoding: proto.Codec,
}
PBcodec encodes/decodes Go values to/from protocol buffers.
Marshal encodes a proto message struct into the binary wire format.
Passed value can't be any Go value, but must be an object of a proto message struct.
Unmarshal parses a wire-format message in proto message struct.
Passed value can't be any Go value, but must be an object of a proto message struct.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.