Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IRequestFaaSInfra ¶
type IRequestFaaSInfra interface { InvokeFunction(ctx context.Context, appCtx *structs.AppCtx, apiName string, params map[string]interface{}, result interface{}) error InvokeFunctionAsync(ctx context.Context, appCtx *structs.AppCtx, apiName string, params map[string]interface{}) (int64, error) InvokeFunctionDistributed(ctx context.Context, appCtx *structs.AppCtx, dataset interface{}, handlerFunc string, progressCallbackFunc string, completedCallbackFunc string, options *tasks.Options) (int64, error) }
type IRequestOpenapi ¶
type IRequestOpenapi interface {
InvokeFunctionAsync(ctx context.Context, appCtx *structs.AppCtx, apiName string, params map[string]interface{}) (int64, error)
}
func GetHTTPInstance ¶
func GetHTTPInstance() IRequestOpenapi
func GetInstance ¶
func GetInstance(ctx context.Context) IRequestOpenapi
Click to show internal directories.
Click to hide internal directories.