cheerapp

package
v0.0.0-...-03aceed Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogError

func LogError(logFmt string, args ...interface{})

func LogErrorWithContext

func LogErrorWithContext(ctx context.Context, logFmt string, args ...interface{})

func LogInfo

func LogInfo(logFmt string, args ...interface{})

func LogInfoWithContext

func LogInfoWithContext(ctx context.Context, logFmt string, args ...interface{})

func LogWarn

func LogWarn(logFmt string, args ...interface{})

func LogWarnWithContext

func LogWarnWithContext(ctx context.Context, logFmt string, args ...interface{})

func SpanBeginBizFunction

func SpanBeginBizFunction(ctx context.Context, operName string) go4sky.Span

func SpanBeginDbService

func SpanBeginDbService(ctx context.Context, operName string) go4sky.Span

func SpanEnd

func SpanEnd(span go4sky.Span)

func SpanError

func SpanError(span go4sky.Span, ll ...string)

func SpanLog

func SpanLog(span go4sky.Span, ll ...string)

func SpanTag

func SpanTag(span go4sky.Span, tagKey go4sky.Tag, tagVal string)

func StartSkyapm

func StartSkyapm()

Types

type ServiceMgr

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

func CreateServiceMgr

func CreateServiceMgr(name string, displayName string, description string, workCallBack WorkCallBack) (*ServiceMgr, error)

func (*ServiceMgr) Install

func (this *ServiceMgr) Install()

func (*ServiceMgr) RunService

func (this *ServiceMgr) RunService()

func (*ServiceMgr) Start

func (this *ServiceMgr) Start(svc service.Service) error

func (*ServiceMgr) StartService

func (this *ServiceMgr) StartService()

func (*ServiceMgr) Stop

func (this *ServiceMgr) Stop(svc service.Service) error

func (*ServiceMgr) StopService

func (this *ServiceMgr) StopService()

func (*ServiceMgr) Uninstall

func (this *ServiceMgr) Uninstall()

type WorkCallBack

type WorkCallBack func() error

Jump to

Keyboard shortcuts

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