warp

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: BSD-3-Clause Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmptyReply

type EmptyReply = types.EmptyReply

type GetPublishedBlockchainsReply

type GetPublishedBlockchainsReply struct {
	Chains []ids.ID `json:"chains"`
}

type PublishBlockchainArgs

type PublishBlockchainArgs struct {
	BlockchainID string `json:"blockchainID"`
}

type PublishBlockchainReply

type PublishBlockchainReply struct {
	ConsensusURL string `json:"consensusURL"`
	DecisionsURL string `json:"decisionsURL"`
}

type Service

type Service interface {
	PublishBlockchain(ctx context.Context, args *PublishBlockchainArgs) (*PublishBlockchainReply, error)
	UnpublishBlockchain(ctx context.Context, args *UnpublishBlockchainArgs) (*EmptyReply, error)
	GetPublishedBlockchains(ctx context.Context) (*GetPublishedBlockchainsReply, error)
}

Service defines the warp IPC API contract.

type UnpublishBlockchainArgs

type UnpublishBlockchainArgs struct {
	BlockchainID string `json:"blockchainID"`
}

Jump to

Keyboard shortcuts

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