Documentation ¶
Overview ¶
Copyright 2017-2018 OneLedger
Copyright 2017-2018 OneLedger
Index ¶
- func Analyze(request *data.OLVMRequest) (result *data.OLVMResult, err error)
- func AutoRun(request *data.OLVMRequest) (result *data.OLVMResult, err error)
- func InitializeClient(protocol, address string)
- func Run(request *data.OLVMRequest) (*data.OLVMResult, error)
- type Container
- type OLVMClient
- type OLVMService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Analyze ¶
func Analyze(request *data.OLVMRequest) (result *data.OLVMResult, err error)
func AutoRun ¶
func AutoRun(request *data.OLVMRequest) (result *data.OLVMResult, err error)
func InitializeClient ¶
func InitializeClient(protocol, address string)
Initialize the vm/daemon/etc.
func Run ¶
func Run(request *data.OLVMRequest) (*data.OLVMResult, error)
Types ¶
type Container ¶
type Container int
TODO Still used?
func (*Container) Analyze ¶
func (c *Container) Analyze(request *data.OLVMRequest, result *data.OLVMResult) error
Exec as defined by RPC
func (*Container) Echo ¶
func (c *Container) Echo(request *data.OLVMRequest, result *data.OLVMResult) error
Echo as defined by RPC
func (*Container) Exec ¶
func (c *Container) Exec(request *data.OLVMRequest, result *data.OLVMResult) error
Exec as defined by RPC
type OLVMClient ¶
Static information about the client parameters
func NewClient ¶
func NewClient(protocol string, address string) *OLVMClient
func (OLVMClient) Run ¶
func (c OLVMClient) Run(request *data.OLVMRequest) (*data.OLVMResult, error)
Run a smart contract
func (OLVMClient) RunAnalyze ¶
func (c OLVMClient) RunAnalyze(request *data.OLVMRequest) (*data.OLVMResult, error)
Run a smart contract
type OLVMService ¶
type OLVMService struct { Protocol string //Port int // TODO: Should be a full address (even if we only need port) Address string }
Static information about the service parameters
func NewOLVMService ¶
func NewOLVMService(protocol, address string) *OLVMService
TODO: Make sure call is not before viper args are handled.
Click to show internal directories.
Click to hide internal directories.