Documentation
¶
Index ¶
- type ActionFunc
- type ActionReturnsErrorFunc
- type ActionReturnsErrorFuncWrapper
- type BaseJsonResultProcessorFunc
- type BytesCollectionPayloadsProcessorFunc
- type ErrorToBasicError
- type ExecFunc
- type InActionReturnsErrFunc
- type InOutErrFunc
- type InOutErrFuncWrapper
- type InOutFunc
- type IsApplyFunc
- type IsFailureFunc
- type IsSuccessFunc
- type IsSuccessFuncWrapper
- type JsonResultProcessorFunc
- type JsonResulterProcessorFunc
- type MultiPayloadsProcessorFunc
- type NamedActionFunc
- type NamedActionFuncWrapper
- type NextPayloadProcessorLinkerFunc
- type NextReturnErrWrapperFunc
- type NextVoidActionFunc
- type PayloadProcessorFunc
- type PayloadToBasicErrProcessorFunc
- type PayloadToPayloadWrapperFunc
- type PayloadWrapperProcessorFunc
- type ResultDelegatingFunc
- type ResultDelegatingFuncWrapper
- type SerializeOutputFunc
- type SerializerVoidFunc
- type SimpleBytesResultProcessorFunc
- type StringerActionFunc
- type StringerWithErrorActionFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionFunc ¶
type ActionFunc func()
type ActionReturnsErrorFunc ¶
type ActionReturnsErrorFunc func() error
type ActionReturnsErrorFuncWrapper ¶
type ActionReturnsErrorFuncWrapper struct { Name string Action ActionReturnsErrorFunc }
func (ActionReturnsErrorFuncWrapper) AsActionFunc ¶
func (it ActionReturnsErrorFuncWrapper) AsActionFunc() ActionFunc
func (ActionReturnsErrorFuncWrapper) AsActionReturnsErrorFunc ¶
func (it ActionReturnsErrorFuncWrapper) AsActionReturnsErrorFunc() ActionReturnsErrorFunc
func (ActionReturnsErrorFuncWrapper) Exec ¶
func (it ActionReturnsErrorFuncWrapper) Exec() error
type BaseJsonResultProcessorFunc ¶ added in v1.3.13
type BaseJsonResultProcessorFunc func(baseJsonResulter serializerinf.BaseJsonResulter) (basicError errcoreinf.BasicErrWrapper)
type BytesCollectionPayloadsProcessorFunc ¶ added in v1.1.3
type BytesCollectionPayloadsProcessorFunc func(collectionOfBytes *corejson.BytesCollection) (err error)
type ErrorToBasicError ¶ added in v1.3.13
type ErrorToBasicError func( errorTyper errcoreinf.BaseErrorTyper, err error, ) (basicError errcoreinf.BasicErrWrapper)
type InActionReturnsErrFunc ¶
type InActionReturnsErrFunc func(input interface{}) (err error)
type InOutErrFunc ¶
type InOutErrFunc func(input interface{}) (output interface{}, err error)
type InOutErrFuncWrapper ¶
type InOutErrFuncWrapper struct { Name string Action InOutErrFunc }
func (InOutErrFuncWrapper) AsActionFunc ¶
func (it InOutErrFuncWrapper) AsActionFunc(input interface{}) ActionFunc
func (InOutErrFuncWrapper) AsActionReturnsErrorFunc ¶
func (it InOutErrFuncWrapper) AsActionReturnsErrorFunc( input interface{}, ) ActionReturnsErrorFunc
func (InOutErrFuncWrapper) Exec ¶
func (it InOutErrFuncWrapper) Exec( input interface{}, ) (output interface{}, err error)
type IsApplyFunc ¶
type IsApplyFunc func() (isSuccess bool)
type IsFailureFunc ¶
type IsFailureFunc func() (isFailed bool)
type IsSuccessFunc ¶
type IsSuccessFunc func() (isSuccess bool)
type IsSuccessFuncWrapper ¶
type IsSuccessFuncWrapper struct { Name string Action IsSuccessFunc }
func (IsSuccessFuncWrapper) AsActionFunc ¶
func (it IsSuccessFuncWrapper) AsActionFunc() ActionFunc
func (IsSuccessFuncWrapper) AsActionReturnsErrorFunc ¶
func (it IsSuccessFuncWrapper) AsActionReturnsErrorFunc() ActionReturnsErrorFunc
func (IsSuccessFuncWrapper) Exec ¶
func (it IsSuccessFuncWrapper) Exec() (isSuccess bool)
type JsonResultProcessorFunc ¶ added in v1.3.13
type JsonResultProcessorFunc func(result *corejson.Result) (basicError errcoreinf.BasicErrWrapper)
type JsonResulterProcessorFunc ¶ added in v1.3.13
type JsonResulterProcessorFunc func(result serializerinf.JsonResulter) (basicError errcoreinf.BasicErrWrapper)
type MultiPayloadsProcessorFunc ¶ added in v1.1.3
type NamedActionFunc ¶
type NamedActionFunc func(name string)
type NamedActionFuncWrapper ¶
type NamedActionFuncWrapper struct { Name string Action NamedActionFunc }
func (NamedActionFuncWrapper) AsActionFunc ¶
func (it NamedActionFuncWrapper) AsActionFunc() ActionFunc
func (NamedActionFuncWrapper) AsActionReturnsErrorFunc ¶
func (it NamedActionFuncWrapper) AsActionReturnsErrorFunc() ActionReturnsErrorFunc
func (NamedActionFuncWrapper) Exec ¶
func (it NamedActionFuncWrapper) Exec()
func (NamedActionFuncWrapper) Next ¶
func (it NamedActionFuncWrapper) Next(next *NamedActionFuncWrapper)
type NextPayloadProcessorLinkerFunc ¶
type NextPayloadProcessorLinkerFunc func(nextLinkerFunc PayloadProcessorFunc) error
type NextReturnErrWrapperFunc ¶
type NextReturnErrWrapperFunc func(nextAction ActionReturnsErrorFunc) error
type NextVoidActionFunc ¶
type NextVoidActionFunc func(nextAction ExecFunc)
type PayloadProcessorFunc ¶
type PayloadToBasicErrProcessorFunc ¶ added in v1.3.13
type PayloadToBasicErrProcessorFunc func(payloads []byte) (basicError errcoreinf.BasicErrWrapper)
type PayloadToPayloadWrapperFunc ¶
type PayloadToPayloadWrapperFunc func(payloads []byte) (payloadWrapper *corepayload.PayloadWrapper, err error)
type PayloadWrapperProcessorFunc ¶ added in v1.3.13
type PayloadWrapperProcessorFunc func(payloadWrapper *corepayload.PayloadWrapper) (basicError errcoreinf.BasicErrWrapper)
type ResultDelegatingFunc ¶
type ResultDelegatingFunc func(resultDelegatedTo interface{}) error
ResultDelegatingFunc
resultDelegatedTo can be unmarshal or marshal or reflect set
type ResultDelegatingFuncWrapper ¶
type ResultDelegatingFuncWrapper struct { Name string Action ResultDelegatingFunc }
func (ResultDelegatingFuncWrapper) AsActionFunc ¶
func (it ResultDelegatingFuncWrapper) AsActionFunc(toPointer interface{}) ActionFunc
func (ResultDelegatingFuncWrapper) AsActionReturnsErrorFunc ¶
func (it ResultDelegatingFuncWrapper) AsActionReturnsErrorFunc( toPointer interface{}, ) ActionReturnsErrorFunc
func (ResultDelegatingFuncWrapper) Exec ¶
func (it ResultDelegatingFuncWrapper) Exec( toPointer interface{}, ) error
type SerializeOutputFunc ¶ added in v1.1.8
type SerializerVoidFunc ¶ added in v1.1.8
type SimpleBytesResultProcessorFunc ¶ added in v1.3.13
type SimpleBytesResultProcessorFunc func(simpleBytes serializerinf.SimpleBytesResulter) (basicError errcoreinf.BasicErrWrapper)
type StringerActionFunc ¶ added in v1.1.2
type StringerActionFunc func() (result string)
type StringerWithErrorActionFunc ¶ added in v1.1.2
Click to show internal directories.
Click to hide internal directories.