response

package
v1.2.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticityJSONResponse

type AuthenticityJSONResponse struct {
	Key       string `json:"key"`
	Signature string `json:"signature"`
}

type AvailabilityJSONResponse

type AvailabilityJSONResponse struct {
	ID  string `json:"id"`
	Url string `json:"url,omitempty"`
}

type EncryptionJSONResponse

type EncryptionJSONResponse struct {
	Key       string `json:"key"`
	Signature string `json:"signature"`
}

type IntegrityJSONResponse

type IntegrityJSONResponse struct {
	AnchorId int `json:"anchor_id"`
}

type ProcessResponse

type ProcessResponse struct {
	Success      bool                      `json:"success"`
	Hash         string                    `json:"hash"`
	Integrity    *IntegrityJSONResponse    `json:"integrity,omitempty"`
	Authenticity *AuthenticityJSONResponse `json:"authenticity,omitempty"`
	Encryption   *EncryptionJSONResponse   `json:"encryption,omitempty"`
	Availability *AvailabilityJSONResponse `json:"availability,omitempty"`
}

Jump to

Keyboard shortcuts

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