visedriver/entry/handlers.go

15 lines
269 B
Go
Raw Normal View History

package entry
import (
"context"
2025-01-21 16:28:55 +01:00
"git.defalsify.org/vise.git/persist"
2025-01-21 16:28:55 +01:00
"git.defalsify.org/vise.git/resource"
)
type EntryHandler interface {
Init(context.Context, string, []byte) (resource.Result, error) // HandlerFunc
Exit()
SetPersister(*persist.Persister)
}