Documentation ¶
Index ¶
- type ActionCalls
- func (rest *ActionCalls) GetActionsForExtensions(accountSlugOrID string, projectSlugOrID string) (*payloads.GetActionsForExtensionsResponse, error)
- func (rest *ActionCalls) Publish(request actions2.PublishRequest, projectSlug string) (*actions2.PublishResponse, error)
- func (rest *ActionCalls) Validate(request actions2.ValidateRequest, projectSlug string) (*actions2.ValidateResponse, error)
- type AuthCalls
- type ContractCalls
- func (rest *ContractCalls) GetContracts(projectSlug string) (*payloads.GetContractsResponse, error)
- func (rest *ContractCalls) RemoveContracts(request payloads.RemoveContractsRequest, projectSlug string) (*payloads.RemoveContractsResponse, error)
- func (rest *ContractCalls) RenameContract(request payloads.RenameContractRequest, projectSlug, networkID, address string) (*payloads.RenameContractResponse, error)
- func (rest *ContractCalls) UploadContracts(request payloads.UploadContractsRequest, projectSlug string) (*payloads.UploadContractsResponse, error)
- func (rest *ContractCalls) VerifyContracts(request payloads.UploadContractsRequest) (*payloads.UploadContractsResponse, error)
- type DeployRequest
- type DevNetCalls
- type ExtensionCalls
- func (rest *ExtensionCalls) DeployExtension(accountSlugOrID string, projectSlugOrID string, actionID string, ...) (*payloads.DeployExtensionResponse, error)
- func (rest *ExtensionCalls) GetExtensions(accountSlugOrID string, projectSlugOrID string, gatewayID string) (*payloads.GetExtensionsResponse, error)
- type GatewayCalls
- type NetworkCalls
- type ProjectCalls
- type SpawnRPCRequest
- type SpawnRPCResponse
- type UserCalls
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionCalls ¶ added in v1.2.0
type ActionCalls struct{}
func NewActionCalls ¶ added in v1.2.0
func NewActionCalls() *ActionCalls
func (*ActionCalls) GetActionsForExtensions ¶ added in v1.5.12
func (rest *ActionCalls) GetActionsForExtensions(accountSlugOrID string, projectSlugOrID string) (*payloads.GetActionsForExtensionsResponse, error)
func (*ActionCalls) Publish ¶ added in v1.2.0
func (rest *ActionCalls) Publish(request actions2.PublishRequest, projectSlug string) (*actions2.PublishResponse, error)
func (*ActionCalls) Validate ¶ added in v1.2.0
func (rest *ActionCalls) Validate(request actions2.ValidateRequest, projectSlug string) (*actions2.ValidateResponse, error)
type AuthCalls ¶
type AuthCalls struct { }
func NewAuthCalls ¶
func NewAuthCalls() *AuthCalls
func (*AuthCalls) Login ¶
func (rest *AuthCalls) Login(request payloads.LoginRequest) (*payloads.TokenResponse, error)
func (*AuthCalls) Register ¶
func (rest *AuthCalls) Register(request payloads.RegisterRequest) (*payloads.TokenResponse, error)
type ContractCalls ¶
type ContractCalls struct { }
func NewContractCalls ¶
func NewContractCalls() *ContractCalls
func (*ContractCalls) GetContracts ¶
func (rest *ContractCalls) GetContracts(projectSlug string) (*payloads.GetContractsResponse, error)
func (*ContractCalls) RemoveContracts ¶ added in v1.4.0
func (rest *ContractCalls) RemoveContracts(request payloads.RemoveContractsRequest, projectSlug string) (*payloads.RemoveContractsResponse, error)
func (*ContractCalls) RenameContract ¶ added in v1.5.0
func (rest *ContractCalls) RenameContract( request payloads.RenameContractRequest, projectSlug, networkID, address string, ) (*payloads.RenameContractResponse, error)
func (*ContractCalls) UploadContracts ¶
func (rest *ContractCalls) UploadContracts( request payloads.UploadContractsRequest, projectSlug string, ) (*payloads.UploadContractsResponse, error)
func (*ContractCalls) VerifyContracts ¶ added in v0.4.0
func (rest *ContractCalls) VerifyContracts( request payloads.UploadContractsRequest, ) (*payloads.UploadContractsResponse, error)
type DeployRequest ¶ added in v1.5.12
type DevNetCalls ¶ added in v1.5.8
type DevNetCalls struct{}
func NewDevNetCalls ¶ added in v1.5.8
func NewDevNetCalls() *DevNetCalls
type ExtensionCalls ¶ added in v1.5.12
type ExtensionCalls struct{}
func NewExtensionCalls ¶ added in v1.5.12
func NewExtensionCalls() *ExtensionCalls
func (*ExtensionCalls) DeployExtension ¶ added in v1.5.12
func (rest *ExtensionCalls) DeployExtension( accountSlugOrID string, projectSlugOrID string, actionID string, gatewayID string, extensionName string, extensionMethodName string) (*payloads.DeployExtensionResponse, error)
func (*ExtensionCalls) GetExtensions ¶ added in v1.5.12
func (rest *ExtensionCalls) GetExtensions( accountSlugOrID string, projectSlugOrID string, gatewayID string) (*payloads.GetExtensionsResponse, error)
type GatewayCalls ¶ added in v1.5.12
type GatewayCalls struct{}
func NewGatewayCalls ¶ added in v1.5.12
func NewGatewayCalls() *GatewayCalls
func (*GatewayCalls) GetGateways ¶ added in v1.5.12
func (rest *GatewayCalls) GetGateways(accountID string, projectID string) (*payloads.GetGatewaysResponse, error)
type NetworkCalls ¶ added in v0.8.0
type NetworkCalls struct { }
func NewNetworkCalls ¶ added in v0.8.0
func NewNetworkCalls() *NetworkCalls
func (*NetworkCalls) GetPublicNetworks ¶ added in v0.8.0
func (rest *NetworkCalls) GetPublicNetworks() (*payloads.NetworksResponse, error)
type ProjectCalls ¶
type ProjectCalls struct { }
func NewProjectCalls ¶
func NewProjectCalls() *ProjectCalls
func (*ProjectCalls) CreateProject ¶
func (rest *ProjectCalls) CreateProject(request payloads.ProjectRequest) (*payloads.ProjectResponse, error)
func (*ProjectCalls) GetProject ¶
func (rest *ProjectCalls) GetProject(accountId, id string) (*model.Project, error)
func (*ProjectCalls) GetProjects ¶
func (rest *ProjectCalls) GetProjects(accountId string) (*payloads.GetProjectsResponse, error)
type SpawnRPCRequest ¶ added in v1.5.8
type SpawnRPCRequest struct {
Template string `json:"templateSlugOrId"`
}
type SpawnRPCResponse ¶ added in v1.5.8
Click to show internal directories.
Click to hide internal directories.