manager

package
v0.0.0-...-6e57485 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunManager

func RunManager(guiPort, servicePort int, assets string, logLevel, logFile, caFolder string)

Types

type ComputationRequest

type ComputationRequest struct {
	NodesNames     string
	Program        string
	DatasetNames   string
	Params         string
	ReceiverPubKey string
}

type Datasets

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

type MPCNode

type MPCNode struct {
	Name        string `json:"name"`
	ScalePort   int    `json:"scale_port"`
	Address     string `json:"address"`
	MpcPubKey   []byte `json:"mpc_pub_key"`
	ScaleCert   []byte `json:"scale_cert"`
	SigPubKey   []byte `json:"sig_pub_key"`
	Description string `json:"description"`
}

type MPCNodes

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

type ReturnMsg

type ReturnMsg struct {
	Error  string
	Result string
	Cols   string
}

ReturnMsg is a struct defining how returns of the node server will be structured

Jump to

Keyboard shortcuts

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