StatsRepository

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2025 License: BSD-2-Clause Imports: 6 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 Repository

type Repository struct {
	repository.Mock
	// contains filtered or unexported fields
}

func New

func New(name string) *Repository

func (*Repository) Init

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

func (*Repository) IsServiceUsed

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

func (*Repository) IsUsed

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

func (*Repository) SetStat

func (t *Repository) 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