package drpcsignal
import "storj.io/drpc/drpcsignal"
package drpcsignal holds a helper type to signal errors.
Usage
type Signal
type Signal struct {
}
func New
func New() Signal
func (*Signal) Err
func (s *Signal) Err() error
func (*Signal) Get
func (s *Signal) Get() (error, bool)
func (*Signal) IsSet
func (s *Signal) IsSet() bool
func (*Signal) Set
func (s *Signal) Set(err error) (ok bool)
func (*Signal) Signal
func (s *Signal) Signal() chan struct{}