liveasync

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(val int) *Handler

func (*Handler) Execute

func (h *Handler) Execute(_ context.Context, dto In) (Out, error)

type HandlerAsync

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

func NewHandlerAsync

func NewHandlerAsync(val int, logger *slog.Logger) *HandlerAsync

func (*HandlerAsync) Execute

func (h *HandlerAsync) Execute(_ context.Context, dto InAsync) error

type In

type In struct {
	Val int
}

type InAsync

type InAsync struct {
	Val int
}

type Out

type Out struct {
	Val int
}

Jump to

Keyboard shortcuts

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