rpc_handler.go 698 B

12345678910111213141516171819202122232425262728293031323334353637
  1. package main
  2. import (
  3. "context"
  4. "hnyfkj.com.cn/rtu/linux/utils/jsonrpc2"
  5. )
  6. // 导入用户安装包
  7. func pkgImport(
  8. ctx context.Context, req *jsonrpc2.Request) *jsonrpc2.Response {
  9. return nil
  10. }
  11. // 删除用户安装包
  12. func pkgRemove(
  13. ctx context.Context, req *jsonrpc2.Request) *jsonrpc2.Response {
  14. return nil
  15. }
  16. // 安装包应用安装
  17. func appInstall(
  18. ctx context.Context, req *jsonrpc2.Request) *jsonrpc2.Response {
  19. return nil
  20. }
  21. // 卸载已安装应用
  22. func appUninstall(
  23. ctx context.Context, req *jsonrpc2.Request) *jsonrpc2.Response {
  24. return nil
  25. }
  26. // 安装包应用信息
  27. func getInstallInfo(
  28. ctx context.Context, req *jsonrpc2.Request) *jsonrpc2.Response {
  29. return nil
  30. }