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 ¶
NewValidator spawns a validator actor and return its pid wraped in Validator
Click to show internal directories.
Click to hide internal directories.