6
1
mirror of https://git.mills.io/saltyim/saltyim.git synced 2024-07-03 00:33:38 +00:00
prologic-saltyim/internal/pwa/storage/actions.go
mlctrez 969a263d06 support for contacts, multiple chat threads, and persistence (#77)
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>
2022-03-28 21:49:01 +00:00

11 lines
302 B
Go

package storage
import "github.com/maxence-charriere/go-app/v9/pkg/app"
// Actions defines the action operations
type Actions interface {
Handle(actionName string, h app.ActionHandler)
NewAction(name string, tags ...app.Tagger)
NewActionWithValue(name string, v interface{}, tags ...app.Tagger)
}