Documentation ¶
Index ¶
- func IsDebug() bool
- func MultipartFileHeader(ctx context.Context, hdr *multipart.FileHeader)
- func MultipartForm(ctx context.Context, form *multipart.Form)
- func PrepareNopServiceWithTimeoutToStart(ctx context.Context, name string, expiry time.Duration) (execute func() error, interrupt func(error))
- func SetDebugFlag(value bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MultipartFileHeader ¶
func MultipartFileHeader(ctx context.Context, hdr *multipart.FileHeader)
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.
Click to show internal directories.
Click to hide internal directories.