mirror of
https://git.mills.io/saltyim/saltyim.git
synced 2024-07-05 09:31:25 +00:00
11 lines
302 B
Go
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)
|
||
|
}
|