| 41 | } |
| 42 | |
| 43 | type validator struct { |
| 44 | pid *actor.PID |
| 45 | id string |
| 46 | } |
| 47 | |
| 48 | // NewValidator spawns a validator actor and return its pid wraped in Validator |
| 49 | func NewValidator(id string) (Validator, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected