tcp

package
v0.0.0-...-7353e17 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package tcp implements an execution environment that sends a value to a TCP server and stores it back. Used for the "increment" benchmark.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
}

Service ...

func NewExecution

func NewExecution() *Service

NewExecution ...

func (*Service) ExecuteGraalvmScalarMultiply

func (hs *Service) ExecuteGraalvmScalarMultiply(snap store.Snapshot, step execution.Step) (execution.Result, error)

ExecuteGraalvmScalarMultiply execute a scalar multiplication on stored data

func (*Service) ExecuteIncrement

func (hs *Service) ExecuteIncrement(snap store.Snapshot, step execution.Step) (execution.Result, error)

ExecuteIncrement execute an increment on stored data

Directories

Path Synopsis
Package main implements a simple TCP server that computes s*G on ED25519.
Package main implements a simple TCP server that computes s*G on ED25519.

Jump to

Keyboard shortcuts

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