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