corefuncs

package
v1.3.30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

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 ExecFunc

type ExecFunc func()

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 InOutFunc

type InOutFunc func(input interface{}) (output interface{})

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 MultiPayloadsProcessorFunc func(multiPayloads ...[]byte) (err error)

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

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 PayloadProcessorFunc func(payloads []byte) (err error)

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 SerializeOutputFunc func(input interface{}) (serializedBytes []byte, err error)

type SerializerVoidFunc added in v1.1.8

type SerializerVoidFunc func() (serializedBytes []byte, err error)

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

type StringerWithErrorActionFunc func() (result string, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL