shim: change ttrpcService and ttrpcServerOptioner to exported interfaces
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
This commit is contained in:
@@ -77,6 +77,10 @@ func newTaskService(ctx context.Context, publisher shim.Publisher, sd shutdown.S
|
||||
return &exampleTaskService{}, nil
|
||||
}
|
||||
|
||||
var (
|
||||
_ = shim.TTRPCService(&exampleTaskService{})
|
||||
)
|
||||
|
||||
type exampleTaskService struct {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user