k

package
v0.0.0-...-18c1652 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

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

Base struct

func NewBase

func NewBase(next Handler) Base

NewBase is factory function, returns a new instance of the Base structure

func (Base) Calc

func (i Base) Calc(v string, d float64, e, f int) float64

Calc function calculates and returns K value

type Custom1

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

Custom1 struct

func NewCustom1

func NewCustom1(next Handler) Custom1

NewCustom1 is factory function, returns a new instance of the Custom1 structure

func (Custom1) Calc

func (i Custom1) Calc(v string, d float64, e, f int) float64

Calc function calculates and returns K value

type Custom2

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

Custom2 struct

func NewCustom2

func NewCustom2(next Handler) Custom2

NewCustom2 is factory function, returns a new instance of the Custom2 structure

func (Custom2) Calc

func (i Custom2) Calc(v string, d float64, e, f int) float64

Calc function calculates and returns K value

type Handler

type Handler interface {
	Calc(v string, d float64, e, f int) float64
}

Handler interface

Jump to

Keyboard shortcuts

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