Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Math ¶
type Math interface {
Calculate(ctx context.Context, calculation *pb.Calculation) error
}
type Storage ¶
type Storage interface { CreateCalculation(ctx context.Context, owner, expression string) (*domain.Calculation, error) GetCalculation(ctx context.Context, id uint) (*domain.Calculation, error) GetCalculations(ctx context.Context) ([]*domain.Calculation, error) UpdateResult(ctx context.Context, id uint, result float64) error }
Click to show internal directories.
Click to hide internal directories.