Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Type of driver
Type = "go"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallBackHandler ¶
CallBackHandler is the Handle function signature which will be called from the provided go code when dealing with callbacks. Package name must be callback, "callback.Handle"
type Transaction ¶
type Transaction struct {
// contains filtered or unexported fields
}
Transaction is a pre-compiled replicant transaction for golang based custom transactions
func New ¶
func New(config transaction.Config) (tx *Transaction, err error)
New creates a web transaction
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 web transaction
Click to show internal directories.
Click to hide internal directories.