StatsService

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2025 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	SetStat(c context.Context, serviceName string, featureName string)
	IsUsed(c context.Context, featureName string) bool
	IsServiceUsed(c context.Context, serviceName string) bool
}

type Service

type Service struct {
	service.Mock
	// contains filtered or unexported fields
}

func New

func New(name string) *Service

func (*Service) Init

func (t *Service) Init(app interfaces.IEngine, cfg map[string]interface{}) error

func (*Service) IsServiceUsed

func (t *Service) IsServiceUsed(c context.Context, serviceName string) bool

func (*Service) IsUsed

func (t *Service) IsUsed(c context.Context, featureName string) bool

func (*Service) SetStat

func (t *Service) SetStat(c context.Context, serviceName string, featureName string)

Jump to

Keyboard shortcuts

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