Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Async ¶
type Async struct {
// contains filtered or unexported fields
}
func NewAsync ¶
func NewAsync(logger *zap.SugaredLogger, microServiceName MicroServiceName) *Async
func (*Async) Run ¶
func (impl *Async) Run(fn func(), metadataOpts ...NewUpdateMetaData)
type MicroServiceName ¶
type MicroServiceName string
func (MicroServiceName) ToString ¶
func (m MicroServiceName) ToString() string
type NewUpdateMetaData ¶
type NewUpdateMetaData func(*RunAsyncMetaData)
func CallerMethod ¶
func CallerMethod(methodName string) NewUpdateMetaData
func CallerPath ¶
func CallerPath(pathName string) NewUpdateMetaData
type RunAsyncMetaData ¶
func NewRunAsyncMetaData ¶
func NewRunAsyncMetaData() *RunAsyncMetaData
Click to show internal directories.
Click to hide internal directories.