submitter

package
v0.0.0-...-d84c2b0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ATTR_SIGNER  = ":signer"
	ATTR_ADDRESS = ":address"
	ATTR_FAMILY  = ":family"
	ATTR_VERSION = ":version"
)

Variables

This section is empty.

Functions

func NewSubmitterInvocationWithOptions

func NewSubmitterInvocationWithOptions(opts ...Option) *clientInvocation

Types

type Option

type Option func(inv *clientInvocation)

func WithArguments

func WithArguments(arguments []interface{}) Option

func WithAttributes

func WithAttributes(attributes map[string]interface{}) Option

func WithMethodName

func WithMethodName(methodName string) Option

func WithParameterTypeNames

func WithParameterTypeNames(parameterTypeNames []string) Option

func WithParameterTypes

func WithParameterTypes(parameterTypes []reflect.Type) Option

func WithParameterValues

func WithParameterValues(parameterValues []reflect.Value) Option

type SawtoothSubmitter

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

func NewSawtoothSubmitter

func NewSawtoothSubmitter(contractName string, contractVersion string, signer *signing.Signer, c cluster.Cluster) *SawtoothSubmitter

func (*SawtoothSubmitter) Invoke

func (s *SawtoothSubmitter) Invoke(methodName string, in []reflect.Value) (out []reflect.Value)

type Submitter

type Submitter interface {
	Invoke(methodName string, in []reflect.Value) (out []reflect.Value)
}

Jump to

Keyboard shortcuts

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