Documentation ¶
Index ¶
- type PostgresStorage
- func (p *PostgresStorage) Close()
- func (p *PostgresStorage) Done(ctx context.Context, id int) error
- func (p *PostgresStorage) Processing(ctx context.Context, id int) error
- func (p *PostgresStorage) SaveTask(ctx context.Context, taskType int, taskValue int) (int, error)
- func (p *PostgresStorage) State(ctx context.Context, id int) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresStorage ¶
type PostgresStorage struct {
// contains filtered or unexported fields
}
func NewPostgresStorage ¶
func (*PostgresStorage) Close ¶
func (p *PostgresStorage) Close()
func (*PostgresStorage) Processing ¶
func (p *PostgresStorage) Processing(ctx context.Context, id int) error
Click to show internal directories.
Click to hide internal directories.