mirror of
https://git.mills.io/saltyim/saltyim.git
synced 2024-07-03 00:33:38 +00:00
969a263d06
Co-authored-by: James Mills <prologic@shortcircuit.net.au> Co-authored-by: James Mills <james@mills.io> Co-authored-by: mlctrez <mlctrez@gmail.com> Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/77 Co-authored-by: mlctrez <mlctrez@noreply@mills.io> Co-committed-by: mlctrez <mlctrez@noreply@mills.io>
11 lines
306 B
Go
11 lines
306 B
Go
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)
|
|
}
|