mirror of
https://github.com/lkmio/lkm.git
synced 2025-10-05 07:06:57 +08:00
完善http接口封装
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user