client

package
v1.0.0-alpha.10.5 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCConnection

func NewGRPCConnection(ctx *cli.Context) (*grpc.ClientConn, error)

func NewValidator

func NewValidator(keyManager keymanager.KeyManager, conn *grpc.ClientConn) originClient.Validator

func Run

func Run(params IParams) error

Run runs the runner.

Types

type IParams

type IParams interface {
	BeaconRPCProvider() string
	KeyManager() string
	KeyManagerLocation() string
	KeyManagerCACert() string
	KeyManagerClientCert() string
	KeyManagerClientKey() string
	KeyManagerAccountPath() string
}

type Params

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

func NewParams

func NewParams(
	beaconRPCProvider string,
	keyManager string,
	keyManagerLocation string,
	keyManagerCACert string,
	keyManagerClientCert string,
	keyManagerClientKey string,
	keyManagerAccountPath string,
) *Params

func (*Params) BeaconRPCProvider

func (p *Params) BeaconRPCProvider() string

func (*Params) KeyManager

func (p *Params) KeyManager() string

func (*Params) KeyManagerAccountPath

func (p *Params) KeyManagerAccountPath() string

func (*Params) KeyManagerCACert

func (p *Params) KeyManagerCACert() string

func (*Params) KeyManagerClientCert

func (p *Params) KeyManagerClientCert() string

func (*Params) KeyManagerClientKey

func (p *Params) KeyManagerClientKey() string

func (*Params) KeyManagerLocation

func (p *Params) KeyManagerLocation() string

Jump to

Keyboard shortcuts

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