http

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskExecutor

type TaskExecutor struct {
	// contains filtered or unexported fields
}

func NewTaskExecutor

func NewTaskExecutor(
	httpHandler *http.HttpHandler,
	grpcHandler *grpc.GrpcHandler,
	pubsubHandler *pubsub.PubSubHandler,
	natsHandler *nats.NatsHandler,
	redisstream *redisstream.RedisStreamHandler,
	logger zerolog.Logger,
) *TaskExecutor

func (*TaskExecutor) Execute

func (executor *TaskExecutor) Execute(context message.Context, input interface{}, taskConfig *model.Task) (interface{}, *model.Task, errors.Error)

type TaskResult

type TaskResult struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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