6
1
mirror of https://git.mills.io/saltyim/saltyim.git synced 2024-07-19 17:25:11 +00:00
prologic-saltyim/internal/pwa/storage/operations.go

11 lines
306 B
Go
Raw Normal View History

package storage
import "github.com/maxence-charriere/go-app/v9/pkg/app"
// StateOperations are the state operations present in app.Context
type StateOperations interface {
SetState(state string, v interface{}, opts ...app.StateOption)
GetState(state string, recv interface{})
DelState(state string)
}