William Petit
d56a3c6f5e
All checks were successful
Cadoles/bouncer/pipeline/head This commit looks good
10 lines
314 B
Go
10 lines
314 B
Go
package queue
|
|
|
|
import "context"
|
|
|
|
type Repository interface {
|
|
IsInQueue(ctx context.Context, queueName string, sessionId string) (bool, uint, error)
|
|
AddToQueue(ctx context.Context, queueName string, sessionId string) (uint, error)
|
|
RemoveFromQueue(ctx context.Context, queueName string, sessionId string) error
|
|
}
|