go_plan_client.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. // Code generated by goctl. DO NOT EDIT.
  2. // goctl 1.10.1
  3. // Source: gorpc.proto
  4. package goplanclient
  5. import (
  6. "context"
  7. "code.flashlink.me/nomo-server/go-service-pb/pb/pb"
  8. "github.com/zeromicro/go-zero/zrpc"
  9. "google.golang.org/grpc"
  10. )
  11. type (
  12. Empty = pb.Empty
  13. ServiceBoxAddReq = pb.ServiceBoxAddReq
  14. ServiceBoxAddResp = pb.ServiceBoxAddResp
  15. ServiceBoxAddWithDetailsReq = pb.ServiceBoxAddWithDetailsReq
  16. ServiceBoxAddWithDetailsResp = pb.ServiceBoxAddWithDetailsResp
  17. ServiceBoxDelReq = pb.ServiceBoxDelReq
  18. ServiceBoxGetReq = pb.ServiceBoxGetReq
  19. ServiceBoxGetResp = pb.ServiceBoxGetResp
  20. ServiceBoxGetWithDetailsReq = pb.ServiceBoxGetWithDetailsReq
  21. ServiceBoxGetWithDetailsResp = pb.ServiceBoxGetWithDetailsResp
  22. ServiceBoxListReq = pb.ServiceBoxListReq
  23. ServiceBoxListResp = pb.ServiceBoxListResp
  24. ServiceBoxTypesAddReq = pb.ServiceBoxTypesAddReq
  25. ServiceBoxTypesAddResp = pb.ServiceBoxTypesAddResp
  26. ServiceBoxTypesDelReq = pb.ServiceBoxTypesDelReq
  27. ServiceBoxTypesGetReq = pb.ServiceBoxTypesGetReq
  28. ServiceBoxTypesGetResp = pb.ServiceBoxTypesGetResp
  29. ServiceBoxTypesListReq = pb.ServiceBoxTypesListReq
  30. ServiceBoxTypesListResp = pb.ServiceBoxTypesListResp
  31. ServiceBoxTypesUpdateReq = pb.ServiceBoxTypesUpdateReq
  32. ServiceBoxTypesUpdateResp = pb.ServiceBoxTypesUpdateResp
  33. ServiceBoxUpdateReq = pb.ServiceBoxUpdateReq
  34. ServiceBoxUpdateResp = pb.ServiceBoxUpdateResp
  35. ServiceBoxUpdateWithDetailsReq = pb.ServiceBoxUpdateWithDetailsReq
  36. ServiceBoxUpdateWithDetailsResp = pb.ServiceBoxUpdateWithDetailsResp
  37. ServicePlanAddReq = pb.ServicePlanAddReq
  38. ServicePlanAddResp = pb.ServicePlanAddResp
  39. ServicePlanAddWithBoxesReq = pb.ServicePlanAddWithBoxesReq
  40. ServicePlanAddWithBoxesResp = pb.ServicePlanAddWithBoxesResp
  41. ServicePlanBoxesAddReq = pb.ServicePlanBoxesAddReq
  42. ServicePlanBoxesAddResp = pb.ServicePlanBoxesAddResp
  43. ServicePlanBoxesDelReq = pb.ServicePlanBoxesDelReq
  44. ServicePlanBoxesGetReq = pb.ServicePlanBoxesGetReq
  45. ServicePlanBoxesGetResp = pb.ServicePlanBoxesGetResp
  46. ServicePlanBoxesListReq = pb.ServicePlanBoxesListReq
  47. ServicePlanBoxesListResp = pb.ServicePlanBoxesListResp
  48. ServicePlanBoxesUpdateReq = pb.ServicePlanBoxesUpdateReq
  49. ServicePlanBoxesUpdateResp = pb.ServicePlanBoxesUpdateResp
  50. ServicePlanChannelAddReq = pb.ServicePlanChannelAddReq
  51. ServicePlanChannelAddResp = pb.ServicePlanChannelAddResp
  52. ServicePlanChannelDelReq = pb.ServicePlanChannelDelReq
  53. ServicePlanChannelGetReq = pb.ServicePlanChannelGetReq
  54. ServicePlanChannelGetResp = pb.ServicePlanChannelGetResp
  55. ServicePlanChannelListReq = pb.ServicePlanChannelListReq
  56. ServicePlanChannelListResp = pb.ServicePlanChannelListResp
  57. ServicePlanChannelUpdateReq = pb.ServicePlanChannelUpdateReq
  58. ServicePlanChannelUpdateResp = pb.ServicePlanChannelUpdateResp
  59. ServicePlanDelReq = pb.ServicePlanDelReq
  60. ServicePlanGetReq = pb.ServicePlanGetReq
  61. ServicePlanGetResp = pb.ServicePlanGetResp
  62. ServicePlanGetWithBoxesReq = pb.ServicePlanGetWithBoxesReq
  63. ServicePlanGetWithBoxesResp = pb.ServicePlanGetWithBoxesResp
  64. ServicePlanListReq = pb.ServicePlanListReq
  65. ServicePlanListResp = pb.ServicePlanListResp
  66. ServicePlanUpdateReq = pb.ServicePlanUpdateReq
  67. ServicePlanUpdateResp = pb.ServicePlanUpdateResp
  68. ServicePlanUpdateWithBoxesReq = pb.ServicePlanUpdateWithBoxesReq
  69. ServicePlanUpdateWithBoxesResp = pb.ServicePlanUpdateWithBoxesResp
  70. ServiceTypesAddReq = pb.ServiceTypesAddReq
  71. ServiceTypesAddResp = pb.ServiceTypesAddResp
  72. ServiceTypesDelReq = pb.ServiceTypesDelReq
  73. ServiceTypesGetReq = pb.ServiceTypesGetReq
  74. ServiceTypesGetResp = pb.ServiceTypesGetResp
  75. ServiceTypesListReq = pb.ServiceTypesListReq
  76. ServiceTypesListResp = pb.ServiceTypesListResp
  77. ServiceTypesUpdateReq = pb.ServiceTypesUpdateReq
  78. ServiceTypesUpdateResp = pb.ServiceTypesUpdateResp
  79. GoPlanClient interface {
  80. // ServiceTypesAdd
  81. ServiceTypesAdd(ctx context.Context, in *ServiceTypesAddReq, opts ...grpc.CallOption) (*ServiceTypesAddResp, error)
  82. ServiceTypesUpdate(ctx context.Context, in *ServiceTypesUpdateReq, opts ...grpc.CallOption) (*ServiceTypesUpdateResp, error)
  83. ServiceTypesDel(ctx context.Context, in *ServiceTypesDelReq, opts ...grpc.CallOption) (*Empty, error)
  84. ServiceTypesGet(ctx context.Context, in *ServiceTypesGetReq, opts ...grpc.CallOption) (*ServiceTypesGetResp, error)
  85. ServiceTypesList(ctx context.Context, in *ServiceTypesListReq, opts ...grpc.CallOption) (*ServiceTypesListResp, error)
  86. // ServiceBoxAdd
  87. ServiceBoxAdd(ctx context.Context, in *ServiceBoxAddReq, opts ...grpc.CallOption) (*ServiceBoxAddResp, error)
  88. ServiceBoxAddWithDetails(ctx context.Context, in *ServiceBoxAddWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxAddWithDetailsResp, error)
  89. ServiceBoxUpdate(ctx context.Context, in *ServiceBoxUpdateReq, opts ...grpc.CallOption) (*ServiceBoxUpdateResp, error)
  90. ServiceBoxUpdateWithDetails(ctx context.Context, in *ServiceBoxUpdateWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxUpdateWithDetailsResp, error)
  91. ServiceBoxDel(ctx context.Context, in *ServiceBoxDelReq, opts ...grpc.CallOption) (*Empty, error)
  92. ServiceBoxGet(ctx context.Context, in *ServiceBoxGetReq, opts ...grpc.CallOption) (*ServiceBoxGetResp, error)
  93. ServiceBoxGetWithDetails(ctx context.Context, in *ServiceBoxGetWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxGetWithDetailsResp, error)
  94. ServiceBoxList(ctx context.Context, in *ServiceBoxListReq, opts ...grpc.CallOption) (*ServiceBoxListResp, error)
  95. // ServiceBoxTypesAdd
  96. ServiceBoxTypesAdd(ctx context.Context, in *ServiceBoxTypesAddReq, opts ...grpc.CallOption) (*ServiceBoxTypesAddResp, error)
  97. ServiceBoxTypesUpdate(ctx context.Context, in *ServiceBoxTypesUpdateReq, opts ...grpc.CallOption) (*ServiceBoxTypesUpdateResp, error)
  98. ServiceBoxTypesDel(ctx context.Context, in *ServiceBoxTypesDelReq, opts ...grpc.CallOption) (*Empty, error)
  99. ServiceBoxTypesGet(ctx context.Context, in *ServiceBoxTypesGetReq, opts ...grpc.CallOption) (*ServiceBoxTypesGetResp, error)
  100. ServiceBoxTypesList(ctx context.Context, in *ServiceBoxTypesListReq, opts ...grpc.CallOption) (*ServiceBoxTypesListResp, error)
  101. // ServicePlanAdd
  102. ServicePlanAdd(ctx context.Context, in *ServicePlanAddReq, opts ...grpc.CallOption) (*ServicePlanAddResp, error)
  103. ServicePlanAddWithBoxes(ctx context.Context, in *ServicePlanAddWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanAddWithBoxesResp, error)
  104. ServicePlanUpdate(ctx context.Context, in *ServicePlanUpdateReq, opts ...grpc.CallOption) (*ServicePlanUpdateResp, error)
  105. ServicePlanUpdateWithBoxes(ctx context.Context, in *ServicePlanUpdateWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanUpdateWithBoxesResp, error)
  106. ServicePlanDel(ctx context.Context, in *ServicePlanDelReq, opts ...grpc.CallOption) (*Empty, error)
  107. ServicePlanGet(ctx context.Context, in *ServicePlanGetReq, opts ...grpc.CallOption) (*ServicePlanGetResp, error)
  108. ServicePlanGetWithBoxes(ctx context.Context, in *ServicePlanGetWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanGetWithBoxesResp, error)
  109. ServicePlanList(ctx context.Context, in *ServicePlanListReq, opts ...grpc.CallOption) (*ServicePlanListResp, error)
  110. // ServicePlanBoxesAdd
  111. ServicePlanBoxesAdd(ctx context.Context, in *ServicePlanBoxesAddReq, opts ...grpc.CallOption) (*ServicePlanBoxesAddResp, error)
  112. ServicePlanBoxesUpdate(ctx context.Context, in *ServicePlanBoxesUpdateReq, opts ...grpc.CallOption) (*ServicePlanBoxesUpdateResp, error)
  113. ServicePlanBoxesDel(ctx context.Context, in *ServicePlanBoxesDelReq, opts ...grpc.CallOption) (*Empty, error)
  114. ServicePlanBoxesGet(ctx context.Context, in *ServicePlanBoxesGetReq, opts ...grpc.CallOption) (*ServicePlanBoxesGetResp, error)
  115. ServicePlanBoxesList(ctx context.Context, in *ServicePlanBoxesListReq, opts ...grpc.CallOption) (*ServicePlanBoxesListResp, error)
  116. // ServicePlanChannelAdd
  117. ServicePlanChannelAdd(ctx context.Context, in *ServicePlanChannelAddReq, opts ...grpc.CallOption) (*ServicePlanChannelAddResp, error)
  118. ServicePlanChannelUpdate(ctx context.Context, in *ServicePlanChannelUpdateReq, opts ...grpc.CallOption) (*ServicePlanChannelUpdateResp, error)
  119. ServicePlanChannelDel(ctx context.Context, in *ServicePlanChannelDelReq, opts ...grpc.CallOption) (*Empty, error)
  120. ServicePlanChannelGet(ctx context.Context, in *ServicePlanChannelGetReq, opts ...grpc.CallOption) (*ServicePlanChannelGetResp, error)
  121. ServicePlanChannelList(ctx context.Context, in *ServicePlanChannelListReq, opts ...grpc.CallOption) (*ServicePlanChannelListResp, error)
  122. }
  123. defaultGoPlanClient struct {
  124. cli zrpc.Client
  125. }
  126. )
  127. func NewGoPlanClient(cli zrpc.Client) GoPlanClient {
  128. return &defaultGoPlanClient{
  129. cli: cli,
  130. }
  131. }
  132. // ServiceTypesAdd
  133. func (m *defaultGoPlanClient) ServiceTypesAdd(ctx context.Context, in *ServiceTypesAddReq, opts ...grpc.CallOption) (*ServiceTypesAddResp, error) {
  134. client := pb.NewGoPlanClientClient(m.cli.Conn())
  135. return client.ServiceTypesAdd(ctx, in, opts...)
  136. }
  137. func (m *defaultGoPlanClient) ServiceTypesUpdate(ctx context.Context, in *ServiceTypesUpdateReq, opts ...grpc.CallOption) (*ServiceTypesUpdateResp, error) {
  138. client := pb.NewGoPlanClientClient(m.cli.Conn())
  139. return client.ServiceTypesUpdate(ctx, in, opts...)
  140. }
  141. func (m *defaultGoPlanClient) ServiceTypesDel(ctx context.Context, in *ServiceTypesDelReq, opts ...grpc.CallOption) (*Empty, error) {
  142. client := pb.NewGoPlanClientClient(m.cli.Conn())
  143. return client.ServiceTypesDel(ctx, in, opts...)
  144. }
  145. func (m *defaultGoPlanClient) ServiceTypesGet(ctx context.Context, in *ServiceTypesGetReq, opts ...grpc.CallOption) (*ServiceTypesGetResp, error) {
  146. client := pb.NewGoPlanClientClient(m.cli.Conn())
  147. return client.ServiceTypesGet(ctx, in, opts...)
  148. }
  149. func (m *defaultGoPlanClient) ServiceTypesList(ctx context.Context, in *ServiceTypesListReq, opts ...grpc.CallOption) (*ServiceTypesListResp, error) {
  150. client := pb.NewGoPlanClientClient(m.cli.Conn())
  151. return client.ServiceTypesList(ctx, in, opts...)
  152. }
  153. // ServiceBoxAdd
  154. func (m *defaultGoPlanClient) ServiceBoxAdd(ctx context.Context, in *ServiceBoxAddReq, opts ...grpc.CallOption) (*ServiceBoxAddResp, error) {
  155. client := pb.NewGoPlanClientClient(m.cli.Conn())
  156. return client.ServiceBoxAdd(ctx, in, opts...)
  157. }
  158. func (m *defaultGoPlanClient) ServiceBoxAddWithDetails(ctx context.Context, in *ServiceBoxAddWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxAddWithDetailsResp, error) {
  159. client := pb.NewGoPlanClientClient(m.cli.Conn())
  160. return client.ServiceBoxAddWithDetails(ctx, in, opts...)
  161. }
  162. func (m *defaultGoPlanClient) ServiceBoxUpdate(ctx context.Context, in *ServiceBoxUpdateReq, opts ...grpc.CallOption) (*ServiceBoxUpdateResp, error) {
  163. client := pb.NewGoPlanClientClient(m.cli.Conn())
  164. return client.ServiceBoxUpdate(ctx, in, opts...)
  165. }
  166. func (m *defaultGoPlanClient) ServiceBoxUpdateWithDetails(ctx context.Context, in *ServiceBoxUpdateWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxUpdateWithDetailsResp, error) {
  167. client := pb.NewGoPlanClientClient(m.cli.Conn())
  168. return client.ServiceBoxUpdateWithDetails(ctx, in, opts...)
  169. }
  170. func (m *defaultGoPlanClient) ServiceBoxDel(ctx context.Context, in *ServiceBoxDelReq, opts ...grpc.CallOption) (*Empty, error) {
  171. client := pb.NewGoPlanClientClient(m.cli.Conn())
  172. return client.ServiceBoxDel(ctx, in, opts...)
  173. }
  174. func (m *defaultGoPlanClient) ServiceBoxGet(ctx context.Context, in *ServiceBoxGetReq, opts ...grpc.CallOption) (*ServiceBoxGetResp, error) {
  175. client := pb.NewGoPlanClientClient(m.cli.Conn())
  176. return client.ServiceBoxGet(ctx, in, opts...)
  177. }
  178. func (m *defaultGoPlanClient) ServiceBoxGetWithDetails(ctx context.Context, in *ServiceBoxGetWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxGetWithDetailsResp, error) {
  179. client := pb.NewGoPlanClientClient(m.cli.Conn())
  180. return client.ServiceBoxGetWithDetails(ctx, in, opts...)
  181. }
  182. func (m *defaultGoPlanClient) ServiceBoxList(ctx context.Context, in *ServiceBoxListReq, opts ...grpc.CallOption) (*ServiceBoxListResp, error) {
  183. client := pb.NewGoPlanClientClient(m.cli.Conn())
  184. return client.ServiceBoxList(ctx, in, opts...)
  185. }
  186. // ServiceBoxTypesAdd
  187. func (m *defaultGoPlanClient) ServiceBoxTypesAdd(ctx context.Context, in *ServiceBoxTypesAddReq, opts ...grpc.CallOption) (*ServiceBoxTypesAddResp, error) {
  188. client := pb.NewGoPlanClientClient(m.cli.Conn())
  189. return client.ServiceBoxTypesAdd(ctx, in, opts...)
  190. }
  191. func (m *defaultGoPlanClient) ServiceBoxTypesUpdate(ctx context.Context, in *ServiceBoxTypesUpdateReq, opts ...grpc.CallOption) (*ServiceBoxTypesUpdateResp, error) {
  192. client := pb.NewGoPlanClientClient(m.cli.Conn())
  193. return client.ServiceBoxTypesUpdate(ctx, in, opts...)
  194. }
  195. func (m *defaultGoPlanClient) ServiceBoxTypesDel(ctx context.Context, in *ServiceBoxTypesDelReq, opts ...grpc.CallOption) (*Empty, error) {
  196. client := pb.NewGoPlanClientClient(m.cli.Conn())
  197. return client.ServiceBoxTypesDel(ctx, in, opts...)
  198. }
  199. func (m *defaultGoPlanClient) ServiceBoxTypesGet(ctx context.Context, in *ServiceBoxTypesGetReq, opts ...grpc.CallOption) (*ServiceBoxTypesGetResp, error) {
  200. client := pb.NewGoPlanClientClient(m.cli.Conn())
  201. return client.ServiceBoxTypesGet(ctx, in, opts...)
  202. }
  203. func (m *defaultGoPlanClient) ServiceBoxTypesList(ctx context.Context, in *ServiceBoxTypesListReq, opts ...grpc.CallOption) (*ServiceBoxTypesListResp, error) {
  204. client := pb.NewGoPlanClientClient(m.cli.Conn())
  205. return client.ServiceBoxTypesList(ctx, in, opts...)
  206. }
  207. // ServicePlanAdd
  208. func (m *defaultGoPlanClient) ServicePlanAdd(ctx context.Context, in *ServicePlanAddReq, opts ...grpc.CallOption) (*ServicePlanAddResp, error) {
  209. client := pb.NewGoPlanClientClient(m.cli.Conn())
  210. return client.ServicePlanAdd(ctx, in, opts...)
  211. }
  212. func (m *defaultGoPlanClient) ServicePlanAddWithBoxes(ctx context.Context, in *ServicePlanAddWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanAddWithBoxesResp, error) {
  213. client := pb.NewGoPlanClientClient(m.cli.Conn())
  214. return client.ServicePlanAddWithBoxes(ctx, in, opts...)
  215. }
  216. func (m *defaultGoPlanClient) ServicePlanUpdate(ctx context.Context, in *ServicePlanUpdateReq, opts ...grpc.CallOption) (*ServicePlanUpdateResp, error) {
  217. client := pb.NewGoPlanClientClient(m.cli.Conn())
  218. return client.ServicePlanUpdate(ctx, in, opts...)
  219. }
  220. func (m *defaultGoPlanClient) ServicePlanUpdateWithBoxes(ctx context.Context, in *ServicePlanUpdateWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanUpdateWithBoxesResp, error) {
  221. client := pb.NewGoPlanClientClient(m.cli.Conn())
  222. return client.ServicePlanUpdateWithBoxes(ctx, in, opts...)
  223. }
  224. func (m *defaultGoPlanClient) ServicePlanDel(ctx context.Context, in *ServicePlanDelReq, opts ...grpc.CallOption) (*Empty, error) {
  225. client := pb.NewGoPlanClientClient(m.cli.Conn())
  226. return client.ServicePlanDel(ctx, in, opts...)
  227. }
  228. func (m *defaultGoPlanClient) ServicePlanGet(ctx context.Context, in *ServicePlanGetReq, opts ...grpc.CallOption) (*ServicePlanGetResp, error) {
  229. client := pb.NewGoPlanClientClient(m.cli.Conn())
  230. return client.ServicePlanGet(ctx, in, opts...)
  231. }
  232. func (m *defaultGoPlanClient) ServicePlanGetWithBoxes(ctx context.Context, in *ServicePlanGetWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanGetWithBoxesResp, error) {
  233. client := pb.NewGoPlanClientClient(m.cli.Conn())
  234. return client.ServicePlanGetWithBoxes(ctx, in, opts...)
  235. }
  236. func (m *defaultGoPlanClient) ServicePlanList(ctx context.Context, in *ServicePlanListReq, opts ...grpc.CallOption) (*ServicePlanListResp, error) {
  237. client := pb.NewGoPlanClientClient(m.cli.Conn())
  238. return client.ServicePlanList(ctx, in, opts...)
  239. }
  240. // ServicePlanBoxesAdd
  241. func (m *defaultGoPlanClient) ServicePlanBoxesAdd(ctx context.Context, in *ServicePlanBoxesAddReq, opts ...grpc.CallOption) (*ServicePlanBoxesAddResp, error) {
  242. client := pb.NewGoPlanClientClient(m.cli.Conn())
  243. return client.ServicePlanBoxesAdd(ctx, in, opts...)
  244. }
  245. func (m *defaultGoPlanClient) ServicePlanBoxesUpdate(ctx context.Context, in *ServicePlanBoxesUpdateReq, opts ...grpc.CallOption) (*ServicePlanBoxesUpdateResp, error) {
  246. client := pb.NewGoPlanClientClient(m.cli.Conn())
  247. return client.ServicePlanBoxesUpdate(ctx, in, opts...)
  248. }
  249. func (m *defaultGoPlanClient) ServicePlanBoxesDel(ctx context.Context, in *ServicePlanBoxesDelReq, opts ...grpc.CallOption) (*Empty, error) {
  250. client := pb.NewGoPlanClientClient(m.cli.Conn())
  251. return client.ServicePlanBoxesDel(ctx, in, opts...)
  252. }
  253. func (m *defaultGoPlanClient) ServicePlanBoxesGet(ctx context.Context, in *ServicePlanBoxesGetReq, opts ...grpc.CallOption) (*ServicePlanBoxesGetResp, error) {
  254. client := pb.NewGoPlanClientClient(m.cli.Conn())
  255. return client.ServicePlanBoxesGet(ctx, in, opts...)
  256. }
  257. func (m *defaultGoPlanClient) ServicePlanBoxesList(ctx context.Context, in *ServicePlanBoxesListReq, opts ...grpc.CallOption) (*ServicePlanBoxesListResp, error) {
  258. client := pb.NewGoPlanClientClient(m.cli.Conn())
  259. return client.ServicePlanBoxesList(ctx, in, opts...)
  260. }
  261. // ServicePlanChannelAdd
  262. func (m *defaultGoPlanClient) ServicePlanChannelAdd(ctx context.Context, in *ServicePlanChannelAddReq, opts ...grpc.CallOption) (*ServicePlanChannelAddResp, error) {
  263. client := pb.NewGoPlanClientClient(m.cli.Conn())
  264. return client.ServicePlanChannelAdd(ctx, in, opts...)
  265. }
  266. func (m *defaultGoPlanClient) ServicePlanChannelUpdate(ctx context.Context, in *ServicePlanChannelUpdateReq, opts ...grpc.CallOption) (*ServicePlanChannelUpdateResp, error) {
  267. client := pb.NewGoPlanClientClient(m.cli.Conn())
  268. return client.ServicePlanChannelUpdate(ctx, in, opts...)
  269. }
  270. func (m *defaultGoPlanClient) ServicePlanChannelDel(ctx context.Context, in *ServicePlanChannelDelReq, opts ...grpc.CallOption) (*Empty, error) {
  271. client := pb.NewGoPlanClientClient(m.cli.Conn())
  272. return client.ServicePlanChannelDel(ctx, in, opts...)
  273. }
  274. func (m *defaultGoPlanClient) ServicePlanChannelGet(ctx context.Context, in *ServicePlanChannelGetReq, opts ...grpc.CallOption) (*ServicePlanChannelGetResp, error) {
  275. client := pb.NewGoPlanClientClient(m.cli.Conn())
  276. return client.ServicePlanChannelGet(ctx, in, opts...)
  277. }
  278. func (m *defaultGoPlanClient) ServicePlanChannelList(ctx context.Context, in *ServicePlanChannelListReq, opts ...grpc.CallOption) (*ServicePlanChannelListResp, error) {
  279. client := pb.NewGoPlanClientClient(m.cli.Conn())
  280. return client.ServicePlanChannelList(ctx, in, opts...)
  281. }