mrdebug

package
v0.14.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDebug added in v0.13.0

func IsDebug() bool

func MultipartFileHeader

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

func MultipartForm

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

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))

func SetDebugFlag added in v0.13.0

func SetDebugFlag(value bool)

SetDebugFlag - WARNING: use only when starting the main process

Types

This section is empty.

Jump to

Keyboard shortcuts

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