integration

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandSubmitTransaction     = "cadence.server.flow.submitTransaction"
	CommandExecuteScript         = "cadence.server.flow.executeScript"
	CommandDeployContract        = "cadence.server.flow.deployContract"
	CommandCreateAccount         = "cadence.server.flow.createAccount"
	CommandCreateDefaultAccounts = "cadence.server.flow.createDefaultAccounts"
	CommandSwitchActiveAccount   = "cadence.server.flow.switchActiveAccount"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountPrivateKey

type AccountPrivateKey struct {
	PrivateKey crypto.PrivateKey
	SigAlgo    crypto.SignatureAlgorithm
	HashAlgo   crypto.HashAlgorithm
}

type Config

type Config struct {
	// The address where the emulator is running.
	EmulatorAddr string

	// The service account key information.
	ServiceAccountKey AccountPrivateKey
}

Config defines configuration for the Language Server. These options are determined by the client and passed to the server at initialization.

type FlowIntegration

type FlowIntegration struct {
	// contains filtered or unexported fields
}

func NewFlowIntegration

func NewFlowIntegration(s *server.Server, enableFlowClient bool) (*FlowIntegration, error)

Jump to

Keyboard shortcuts

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