Documentation
¶
Overview ¶
Copyright 2017-2018 OneLedger
Copyright 2017-2018 OneLedger
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoRun ¶
func AutoRun(request *action.OLVMRequest) (result *action.OLVMResult, err error)
func Run ¶
func Run(request *action.OLVMRequest) (*action.OLVMResult, error)
Types ¶
type Container ¶
type Container int
TODO Still used?
func (*Container) Echo ¶
func (c *Container) Echo(request *action.OLVMRequest, result *action.OLVMResult) error
Echo as defined by RPC
func (*Container) Exec ¶
func (c *Container) Exec(request *action.OLVMRequest, result *action.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 *action.OLVMRequest) (*action.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() *OLVMService
TODO: Make sure call is not before viper args are handled.
Click to show internal directories.
Click to hide internal directories.