mrdebug

package
v0.28.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MultipartFileHeader

func MultipartFileHeader(ctx context.Context, hdr *multipart.FileHeader)

MultipartFileHeader - comment func.

func MultipartForm

func MultipartForm(ctx context.Context, form *multipart.Form)

MultipartForm - comment func.

func PrepareNopServiceWithTimeoutToStart added in v0.13.0

func PrepareNopServiceWithTimeoutToStart(
	ctx context.Context,
	name string,
	expiry time.Duration,
) (execute func() error, interrupt func(error))

PrepareNopServiceWithTimeoutToStart - предназначен для тестирования запуска и остановки процессов Пример: appRunner.Add(mrdebug.PrepareNopServiceWithTimeoutToStart(ctx, "s1", 5 * time.Second)).

Types

This section is empty.

Jump to

Keyboard shortcuts

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