Factor out session handler, introduce entry handler

This commit is contained in:
lash
2025-01-11 08:01:48 +00:00
parent f939a20543
commit 840c22ca89
3 changed files with 17 additions and 71 deletions

10
entry/handlers.go Normal file
View File

@@ -0,0 +1,10 @@
package entry
import (
"git.defalsify.org/vise.git/persist"
)
type EntryHandler interface {
Init(context.Context, string, []byte) (*resource.Result, error) // HandlerFunc
Exit()
}