db

package
v0.0.0-...-955dd82 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CalculationResults

type CalculationResults struct {
	gorm.Model

	Parameters     map[string]string `gorm:"-"`
	ParametersJSON string            `gorm:"column:parameters_json;type:jsonb"`
	Results        string
}

type CalculationResultsStore

type CalculationResultsStore interface {
	StoreOrUpdateData(ctx context.Context, in *proto.StoreRequest) (*proto.StoreResponse, error)
	GetData(ctx context.Context, parameters map[string]string) (*CalculationResults, error)
}

type Options

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

func (*Options) Bind

func (o *Options) Bind(fs *flag.FlagSet)

func (*Options) NewCalculationResultsStore

func (o *Options) NewCalculationResultsStore() (CalculationResultsStore, error)

func (*Options) Validate

func (o *Options) Validate() error

Jump to

Keyboard shortcuts

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