Documentation ¶
Index ¶
- func LogError(logFmt string, args ...interface{})
- func LogErrorWithContext(ctx context.Context, logFmt string, args ...interface{})
- func LogInfo(logFmt string, args ...interface{})
- func LogInfoWithContext(ctx context.Context, logFmt string, args ...interface{})
- func LogWarn(logFmt string, args ...interface{})
- func LogWarnWithContext(ctx context.Context, logFmt string, args ...interface{})
- func SpanBeginBizFunction(ctx context.Context, operName string) go4sky.Span
- func SpanBeginDbService(ctx context.Context, operName string) go4sky.Span
- func SpanEnd(span go4sky.Span)
- func SpanError(span go4sky.Span, ll ...string)
- func SpanLog(span go4sky.Span, ll ...string)
- func SpanTag(span go4sky.Span, tagKey go4sky.Tag, tagVal string)
- func StartSkyapm()
- type ServiceMgr
- type WorkCallBack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogErrorWithContext ¶
func LogInfoWithContext ¶
func LogWarnWithContext ¶
func SpanBeginBizFunction ¶
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) StartService ¶
func (this *ServiceMgr) StartService()
func (*ServiceMgr) StopService ¶
func (this *ServiceMgr) StopService()
func (*ServiceMgr) Uninstall ¶
func (this *ServiceMgr) Uninstall()
type WorkCallBack ¶
type WorkCallBack func() error
Click to show internal directories.
Click to hide internal directories.