web

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Type = "web"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Transaction

type Transaction struct {
	// contains filtered or unexported fields
}

Transaction is a pre-compiled replicant transaction for web applications

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL