Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiError ¶
type MultiError struct {
// contains filtered or unexported fields
}
MultiError multiple errors, its useful in single error can not represent complex error all it's methods is gorountine safe. ref https://github.com/prometheus/alertmanager/blob/master/types/types.go#L268
func (*MultiError) Add ¶
func (e *MultiError) Add(err error)
func (*MultiError) AddStrError ¶
func (e *MultiError) AddStrError(err string)
AddStrError add string error
func (*MultiError) Len ¶
func (e *MultiError) Len() int
func (*MultiError) String ¶
func (e *MultiError) String(delimiter string) string
type Pairs ¶
type Pairs []Pair
func NewPairsFromMap ¶
NewPairsFromMap map {key, value} to Pairs (keep sequence stable)
Click to show internal directories.
Click to hide internal directories.