mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-10-14 05:53:43 +08:00
发布v2.15.1版本,更新内容请查看:https://github.com/bufanyun/hotgo/blob/v2.0/docs/guide-zh-CN/start-update-log.md
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
"context"
|
||||
"hotgo/api/servmsg"
|
||||
"hotgo/internal/library/network/tcp"
|
||||
"hotgo/internal/model/input/servmsgin"
|
||||
)
|
||||
|
||||
type (
|
||||
@@ -19,6 +20,8 @@ type (
|
||||
Start(ctx context.Context)
|
||||
// Stop 停止服务
|
||||
Stop(ctx context.Context)
|
||||
// Summary 获取授权信息
|
||||
Summary() *servmsgin.AuthSummaryModel
|
||||
// OnResponseAuthSummary 响应授权信息
|
||||
OnResponseAuthSummary(ctx context.Context, req *servmsg.AuthSummaryRes)
|
||||
// OnResponseExampleHello 一个tcp请求例子
|
||||
|
Reference in New Issue
Block a user