Factor out session handler, introduce entry handler
This commit is contained in:
10
entry/handlers.go
Normal file
10
entry/handlers.go
Normal 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()
|
||||
}
|
||||
Reference in New Issue
Block a user