Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Notary ¶
type Notary struct {
// contains filtered or unexported fields
}
func (*Notary) SignPayload ¶
func (n *Notary) SignPayload(p []byte) (SignedPayload, error)
type SignedPayload ¶
func (SignedPayload) MarshalJSON ¶
func (s SignedPayload) MarshalJSON() ([]byte, error)
type SignedPayloadJSON ¶
func UnmarshalJSON ¶
func UnmarshalJSON(b []byte) (SignedPayloadJSON, error)
Click to show internal directories.
Click to hide internal directories.