stateless

package
v1.8.1-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2019 License: LGPL-3.0 Imports: 5 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator interface {
	// Register send a register message to poolId
	Register(poolId *actor.PID)
	// UnRegister send an unregister message to poolId
	UnRegister(poolId *actor.PID)
	// VerifyType returns the type of validator
	VerifyType() vatypes.VerifyType
}

Validator wraps validator actor's pid

func NewValidator

func NewValidator(id string) (Validator, error)

NewValidator spawns a validator actor and return its pid wraped in Validator

Jump to

Keyboard shortcuts

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