scoringmgr

package
v0.0.0-...-707febc Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package scoringmgr provides the way to apply specific scoring method for each service application

Index

Constants

View Source
const (
	INVALID_SCORE = 0.0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Scoring

type Scoring interface {
	GetScore(ID string) (scoreValue float64, err error)
}

Scoring is the interface to apply application specific scoring functions

type ScoringImpl

type ScoringImpl struct{}

ScoringImpl structure

func GetInstance

func GetInstance() *ScoringImpl

GetInstance gives the ScoringImpl singletone instance

func (ScoringImpl) GetScore

func (ScoringImpl) GetScore(ID string) (scoreValue float64, err error)

GetScore provides score value for specific application on local device

Directories

Path Synopsis
Package mockscoringmgr implements the mock functions for scoringmgr
Package mockscoringmgr implements the mock functions for scoringmgr
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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