Documentation ¶
Overview ¶
Package jsonb provides a custom []byte to JSON encoding.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type B ¶
type B []byte
Type B is for (un)marshaling regular []bytes and ed25519 signatures.
func (B) MarshalText ¶
func (*B) UnmarshalText ¶
type PK ¶
Type PK is for (un)marshaling ed25519 public keys.
func (PK) MarshalText ¶
func (*PK) UnmarshalText ¶
type SK ¶
type SK ed25519.PrivateKey
Type SK is for (un)marshaling ed25519 private keys.
func (SK) MarshalText ¶
func (SK) T ¶
func (t SK) T() ed25519.PrivateKey
func (*SK) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.