server: add missing hook definitions

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2024-04-23 07:39:08 +03:00
parent 92a3a547b8
commit 4e99680c30
2 changed files with 17 additions and 11 deletions

View File

@@ -65,6 +65,8 @@ type Server interface {
type (
FuncSubHandler func(ctx context.Context, ms Message) error
HookSubHandler func(next FuncSubHandler) FuncSubHandler
FuncHandler func(ctx context.Context, req Request, rsp interface{}) error
HookHandler func(next FuncHandler) FuncHandler
)
/*