Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Setup ¶
type Setup interface { Count(context.Context, ...postgresdb.ExecOption) (int64, error) Create(context.Context, *entities.Setup, ...postgresdb.ExecOption) error Update(context.Context, *entities.Setup, ...postgresdb.ExecOption) (int64, error) GetList(context.Context, uuid.UUID, ...postgresdb.ExecOption) (entities.SetupList, error) IncrementDownload(context.Context, uuid.UUID, ...postgresdb.ExecOption) error RecordVote(context.Context, uuid.UUID, uuid.UUID, bool, ...postgresdb.ExecOption) error }
type SetupStorage ¶
type SetupStorage interface { Store(context.Context, entities.SetupFile, ...postgresdb.ExecOption) error List(context.Context, uuid.UUID, ...postgresdb.ExecOption) ([]entities.SetupFile, error) }
type Strategy ¶
type Strategy interface { Count(context.Context, ...postgresdb.ExecOption) (int64, error) Create(context.Context, *entities.Strategy, ...postgresdb.ExecOption) error GetByID(context.Context, uuid.UUID) (*entities.Strategy, error) List(context.Context, ...postgresdb.ExecOption) (entities.StrategyList, error) StoreRecalculatedStrategy(context.Context, *entities.Strategy, ...postgresdb.ExecOption) error }
Click to show internal directories.
Click to hide internal directories.