generated

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

README

Go API Server for swagger

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

Overview

This server was generated by the [swagger-codegen] (https://github.com/swagger-api/swagger-codegen) project.
By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.

To see how to make this your own, look here:

README

  • API version: 1.0.0
  • Build date: 2021-11-19T00:38:52.379Z[GMT]
Running the server

To run the server, follow these simple steps:

go run main.go

Documentation

Overview

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Address string `json:"address"`

	Balance string `json:"balance"`

	Keys []AccountPublicKey `json:"keys,omitempty"`

	Contracts map[string]string `json:"contracts,omitempty"`

	Expandable *AccountExpandable `json:"_expandable"`

	Links *Links `json:"_links,omitempty"`
}

type AccountExpandable

type AccountExpandable struct {
	Keys string `json:"keys,omitempty"`

	Contracts string `json:"contracts,omitempty"`
}

type AccountPublicKey

type AccountPublicKey struct {
	Index string `json:"index"`

	PublicKey string `json:"public_key"`

	SigningAlgorithm *SigningAlgorithm `json:"signing_algorithm"`

	HashingAlgorithm *HashingAlgorithm `json:"hashing_algorithm"`

	SequenceNumber string `json:"sequence_number"`

	Weight string `json:"weight"`

	Revoked bool `json:"revoked"`
}

type AggregatedSignature

type AggregatedSignature struct {
	VerifierSignatures []string `json:"verifier_signatures"`

	SignerIds []string `json:"signer_ids"`
}

type Block

type Block struct {
	Header *BlockHeader `json:"header"`

	Payload *BlockPayload `json:"payload,omitempty"`

	ExecutionResult *ExecutionResult `json:"execution_result,omitempty"`

	Expandable *BlockExpandable `json:"_expandable"`

	Links *Links `json:"_links,omitempty"`
}

type BlockEvents added in v0.23.7

type BlockEvents struct {
	BlockId string `json:"block_id,omitempty"`

	BlockHeight string `json:"block_height,omitempty"`

	BlockTimestamp time.Time `json:"block_timestamp,omitempty"`

	Events []Event `json:"events,omitempty"`

	Links *Links `json:"_links,omitempty"`
}

type BlockExpandable

type BlockExpandable struct {
	Payload string `json:"payload,omitempty"`

	ExecutionResult string `json:"execution_result,omitempty"`
}

type BlockHeader

type BlockHeader struct {
	Id string `json:"id"`

	ParentId string `json:"parent_id"`

	Height string `json:"height"`

	Timestamp time.Time `json:"timestamp"`

	ParentVoterSignature string `json:"parent_voter_signature"`
}

type BlockHeight

type BlockHeight struct {
}

type BlockPayload

type BlockPayload struct {
	CollectionGuarantees []CollectionGuarantee `json:"collection_guarantees"`

	BlockSeals []BlockSeal `json:"block_seals"`
}

type BlockSeal

type BlockSeal struct {
	BlockId string `json:"block_id"`

	ResultId string `json:"result_id"`

	FinalState string `json:"final_state"`

	AggregatedApprovalSignatures []AggregatedSignature `json:"aggregated_approval_signatures"`
}

type Collection

type Collection struct {
	Id string `json:"id"`

	Transactions []Transaction `json:"transactions,omitempty"`

	Expandable *CollectionExpandable `json:"_expandable"`

	Links *Links `json:"_links,omitempty"`
}

type CollectionExpandable added in v0.23.5

type CollectionExpandable struct {
	Transactions []string `json:"transactions,omitempty"`
}

type CollectionGuarantee

type CollectionGuarantee struct {
	CollectionId string `json:"collection_id"`

	SignerIds []string `json:"signer_ids"`

	Signature string `json:"signature"`
}

type Event

type Event struct {
	Type_ string `json:"type"`

	TransactionId string `json:"transaction_id,omitempty"`

	TransactionIndex string `json:"transaction_index,omitempty"`

	EventIndex string `json:"event_index,omitempty"`

	Payload string `json:"payload,omitempty"`
}

type ExecutionResult

type ExecutionResult struct {
	Id string `json:"id"`

	BlockId string `json:"block_id"`

	Events []Event `json:"events"`

	Links *Links `json:"_links,omitempty"`
}

type HashingAlgorithm

type HashingAlgorithm string
const (
	SHA2_256 HashingAlgorithm = "SHA2_256"
	SHA2_384 HashingAlgorithm = "SHA2_384"
	SHA3_256 HashingAlgorithm = "SHA3_256"
	SHA3_384 HashingAlgorithm = "SHA3_384"
	KMAC128  HashingAlgorithm = "KMAC128"
)

List of HashingAlgorithm

type InlineResponse200

type InlineResponse200 struct {
	Value string `json:"value,omitempty"`
}
type Links struct {
	Self string `json:"_self,omitempty"`
}

type ModelError

type ModelError struct {
	Code int32 `json:"code,omitempty"`

	Message string `json:"message,omitempty"`
}

type OneOfBlockHeight

type OneOfBlockHeight struct {
}

type ProposalKey

type ProposalKey struct {
	Address string `json:"address"`

	KeyIndex string `json:"key_index"`

	SequenceNumber string `json:"sequence_number"`
}

type ScriptsBody

type ScriptsBody struct {
	Script string `json:"script,omitempty"`

	Arguments []string `json:"arguments,omitempty"`
}

type SigningAlgorithm

type SigningAlgorithm string
const (
	BLSBLS12381     SigningAlgorithm = "BLSBLS12381"
	ECDSAP256       SigningAlgorithm = "ECDSAP256"
	ECDSA_SECP256K1 SigningAlgorithm = "ECDSASecp256k1"
)

List of SigningAlgorithm

type Transaction

type Transaction struct {
	Id string `json:"id"`

	Script string `json:"script"`

	Arguments []string `json:"arguments"`

	ReferenceBlockId string `json:"reference_block_id"`

	GasLimit string `json:"gas_limit"`

	Payer string `json:"payer"`

	ProposalKey *ProposalKey `json:"proposal_key"`

	Authorizers []string `json:"authorizers"`

	PayloadSignatures []TransactionSignature `json:"payload_signatures"`

	EnvelopeSignatures []TransactionSignature `json:"envelope_signatures"`

	Result *TransactionResult `json:"result,omitempty"`

	Expandable *TransactionExpandable `json:"_expandable"`

	Links *Links `json:"_links,omitempty"`
}

type TransactionExpandable

type TransactionExpandable struct {
	Result string `json:"result,omitempty"`
}

type TransactionResult

type TransactionResult struct {
	BlockId string `json:"block_id"`

	Status *TransactionStatus `json:"status"`

	ErrorMessage string `json:"error_message"`

	ComputationUsed string `json:"computation_used"`

	Events []Event `json:"events"`

	Links *Links `json:"_links,omitempty"`
}

type TransactionResultExpandable

type TransactionResultExpandable struct {
	Events string `json:"events,omitempty"`
}

type TransactionSignature

type TransactionSignature struct {
	Address string `json:"address"`

	SignerIndex string `json:"signer_index"`

	KeyIndex string `json:"key_index"`

	Signature string `json:"signature"`
}

type TransactionStatus

type TransactionStatus string
const (
	PENDING   TransactionStatus = "Pending"
	FINALIZED TransactionStatus = "Finalized"
	EXECUTED  TransactionStatus = "Executed"
	SEALED    TransactionStatus = "Sealed"
	EXPIRED   TransactionStatus = "Expired"
)

List of TransactionStatus

type TransactionsBody

type TransactionsBody struct {
	Script string `json:"script"`

	Arguments []string `json:"arguments"`

	ReferenceBlockId string `json:"reference_block_id"`

	GasLimit string `json:"gas_limit"`

	Payer string `json:"payer"`

	ProposalKey *ProposalKey `json:"proposal_key"`

	Authorizers []string `json:"authorizers"`

	PayloadSignatures []TransactionSignature `json:"payload_signatures"`

	EnvelopeSignatures []TransactionSignature `json:"envelope_signatures"`
}

Jump to

Keyboard shortcuts

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