完善http接口封装

This commit is contained in:
yangjiechina
2024-04-10 10:34:11 +08:00
parent 8dc824494e
commit 598311f21f
5 changed files with 140 additions and 120 deletions

View File

@@ -38,9 +38,9 @@ func NewPublishHookEventInfo(stream, remoteAddr string, protocol SourceType) eve
}
type HookHandler interface {
Play(sink ISink, success func(), failure func(state utils.HookState))
Play(success func(), failure func(state utils.HookState))
PlayDone(sink ISink, success func(), failure func(state utils.HookState))
PlayDone(success func(), failure func(state utils.HookState))
}
type HookSession interface {