Documentation ¶
Overview ¶
Package javascript implements a javascript transaction driver.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
Driver for javascript language based transactions
func (*Driver) New ¶
func (d *Driver) New(config transaction.Config) (tx transaction.Transaction, err error)
New creates a new javascript transaction
type Transaction ¶
type Transaction struct {
// contains filtered or unexported fields
}
Transaction is a pre-compiled replicant transaction for javascript based transactions
func (*Transaction) Config ¶
func (t *Transaction) Config() (config transaction.Config)
Config returns the transaction config
func (*Transaction) Run ¶
func (t *Transaction) Run(ctx context.Context) (result transaction.Result)
Run executes the transaction
Click to show internal directories.
Click to hide internal directories.