Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultResult ¶
type DefaultResult struct {
// contains filtered or unexported fields
}
func Drop ¶ added in v1.1.0
func Drop() *DefaultResult
func DropWith ¶ added in v1.2.3
func DropWith(err error) *DefaultResult
func Fail ¶
func Fail(err error) *DefaultResult
func NewResult ¶
func NewResult(state api.Status) *DefaultResult
func Success ¶
func Success() *DefaultResult
func (*DefaultResult) Batch ¶
func (dr *DefaultResult) Batch() api.Batch
func (*DefaultResult) ChangeStatusTo ¶
func (dr *DefaultResult) ChangeStatusTo(status api.Status)
func (*DefaultResult) Error ¶
func (dr *DefaultResult) Error() error
func (*DefaultResult) Events ¶
func (dr *DefaultResult) Events() []api.Event
func (*DefaultResult) Status ¶
func (dr *DefaultResult) Status() api.Status
func (*DefaultResult) WithError ¶
func (dr *DefaultResult) WithError(err error) *DefaultResult
Click to show internal directories.
Click to hide internal directories.