shim: change ttrpcService and ttrpcServerOptioner to exported interfaces

Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
This commit is contained in:
Iceber Gu
2023-06-27 18:13:16 +08:00
parent d5ec7286ae
commit 00e5ae2118
5 changed files with 21 additions and 10 deletions

View File

@@ -53,7 +53,7 @@ import (
)
var (
_ = (taskAPI.TaskService)(&service{})
_ = shim.TTRPCService(&service{})
empty = &ptypes.Empty{}
)