async

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewUpdateMetaData

type NewUpdateMetaData func(*RunAsyncMetaData)

func CallerMethod

func CallerMethod(methodName string) NewUpdateMetaData

func CallerPath

func CallerPath(pathName string) NewUpdateMetaData

type RunAsyncMetaData

type RunAsyncMetaData struct {
	Method string
	Path   string
}

func NewRunAsyncMetaData

func NewRunAsyncMetaData() *RunAsyncMetaData

type Runnable

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

func NewAsyncRunnable

func NewAsyncRunnable(logger *zap.SugaredLogger, serviceName constants.ServiceName) *Runnable

func (*Runnable) Execute

func (impl *Runnable) Execute(runnableFunc func())

Jump to

Keyboard shortcuts

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