stats

package
v0.0.0-...-0485310 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(service interfaces.TaskStatsService)

func WithConfigPath

func WithConfigPath(path string) Option

type ServiceV2

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

func GetTaskStatsServiceV2

func GetTaskStatsServiceV2() (svr *ServiceV2, err error)

func NewTaskStatsServiceV2

func NewTaskStatsServiceV2() (svc2 *ServiceV2, err error)

func (*ServiceV2) Init

func (svc *ServiceV2) Init() (err error)

func (*ServiceV2) InsertData

func (svc *ServiceV2) InsertData(taskId primitive.ObjectID, records ...map[string]interface{}) (err error)

func (*ServiceV2) InsertLogs

func (svc *ServiceV2) InsertLogs(id primitive.ObjectID, logs ...string) (err error)

Jump to

Keyboard shortcuts

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