Documentation ¶
Index ¶
- Constants
- func BaseContainsTag(bas base.Base, tags []types.Tag) bool
- func CalculateDerivates(tags []types.Tag, api *apis.API) (map[string]float64, error)
- func MatchBases(bases []base.Base, tags []types.Tag) []base.Base
- type ErrorCalculatingDerivative
- type ForbiddenOrderKey
- type TemplateAugmentedBase
- type TemplateBase
- type WarningNoNonZeroDerivatives
Constants ¶
View Source
const HealthRateDecreasingThreshold = -0.01
Variables ¶
This section is empty.
Functions ¶
func CalculateDerivates ¶
Types ¶
type ErrorCalculatingDerivative ¶
type ErrorCalculatingDerivative struct {
// contains filtered or unexported fields
}
func (ErrorCalculatingDerivative) Error ¶
func (t ErrorCalculatingDerivative) Error() string
type ForbiddenOrderKey ¶
type ForbiddenOrderKey struct {
// contains filtered or unexported fields
}
func ErrorForbiddenOrderKey ¶
func ErrorForbiddenOrderKey(order_key types.OrderKey) ForbiddenOrderKey
func (ForbiddenOrderKey) Error ¶
func (f ForbiddenOrderKey) Error() string
type TemplateAugmentedBase ¶
type TemplateBase ¶
type TemplateBase struct { // contains filtered or unexported fields }
func NewTemplateBase ¶
func NewTemplateBase(api *apis.API, channelID types.DiscordChannelID) *TemplateBase
func (*TemplateBase) GenerateRecords ¶
func (b *TemplateBase) GenerateRecords() error
type WarningNoNonZeroDerivatives ¶
type WarningNoNonZeroDerivatives struct { }
func (WarningNoNonZeroDerivatives) Error ¶
func (t WarningNoNonZeroDerivatives) Error() string
Click to show internal directories.
Click to hide internal directories.