Documentation ¶
Overview ¶
Package encoding defines interfaces shared by other packages that convert data to and from byte-level and textual representations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeBase64OrJSON ¶ added in v0.11.0
DecodeBase64OrJSON decodes a JSON string that can optionally be base64 encoded.
Types ¶
type MarshalUnmarshaler ¶
type MarshalUnmarshaler interface { Marshaler Unmarshaler }
MarshalUnmarshaler can both Marshal and Unmarshal a struct into and from a set of bytes.
type Unmarshaler ¶
Unmarshaler decodes a set of bytes and returns a struct.
Directories ¶
Path | Synopsis |
---|---|
Package ecjson represents encrypted and compressed content using JSON-based
|
Package ecjson represents encrypted and compressed content using JSON-based |
Package jws represents content secured with digitalsignatures using JSON-based data structures as specified by rfc7515
|
Package jws represents content secured with digitalsignatures using JSON-based data structures as specified by rfc7515 |
Package mock implements a mock implementation of MarshalUnmarshaler.
|
Package mock implements a mock implementation of MarshalUnmarshaler. |
Click to show internal directories.
Click to hide internal directories.