enveloper

package
v1.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2024 License: CC0-1.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type I

I interface for envelopes

Note that the Unmarshal function is not UnmarshalJSON for a specific reason - it is impossible to implement a typed JSON unmarshaler in Go for an array type because it must by definition have a sentinel field which in the case of nostr is the Label. Objects have a defined collection of recognised labels and with omitempty marking the mandatory ones, acting as a "kind" of sentinel.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL