Documentation
¶
Index ¶
Constants ¶
View Source
const ( CommandSubmitTransaction = "cadence.server.flow.submitTransaction" CommandExecuteScript = "cadence.server.flow.executeScript" CommandUpdateAccountCode = "cadence.server.flow.updateAccountCode" 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) (*FlowIntegration, error)
Click to show internal directories.
Click to hide internal directories.