15 lines
391 B
Go
15 lines
391 B
Go
package storage
|
|
|
|
import (
|
|
"context"
|
|
|
|
"netisjwt/internal/statuslist"
|
|
)
|
|
|
|
type Store interface {
|
|
Ustvari(ctx context.Context, statusID string, list *statuslist.StatusList) error
|
|
SeznamIDjev(ctx context.Context) ([]string, error)
|
|
Dobi(ctx context.Context, statusID string) (*statuslist.StatusList, error)
|
|
Posodobi(ctx context.Context, statusID string, list *statuslist.StatusList) error
|
|
}
|