Documentation ¶
Index ¶
- type Usecase
- func (u Usecase) Create(ctx context.Context, data entity.State) (string, error)
- func (u Usecase) Delete(ctx context.Context, stateid string) error
- func (u Usecase) Get(ctx context.Context, stateid string) (entity.State, error)
- func (u Usecase) SetExpire(ctx context.Context, stateid string, duration time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.