Versions in this module Expand all Collapse all v0 v0.3.0 Apr 7, 2024 v0.2.0 Apr 7, 2024 Changes in this version + var ErrBadParse = fmt.Errorf("failpoint: could not parse terms") + var ErrDisabled = fmt.Errorf("failpoint: failpoint is disabled") + var ErrExhausted = fmt.Errorf("failpoint: terms exhausted") + var ErrNoExist = fmt.Errorf("failpoint: failpoint does not exist") + func Disable(failpath string) error + func Enable(failpath, inTerms string) error + func List() []string + func Status(failpath string) (string, error) + type Failpoint struct + func NewFailpoint(pkg, name string, goFailGo bool) *Failpoint + func (fp *Failpoint) Acquire() (interface{}, error) + func (fp *Failpoint) BadType(v interface{}, t string) + func (fp *Failpoint) Release()