| | |
| | | // Code generated by protoc-gen-go-grpc. DO NOT EDIT. |
| | | // versions: |
| | | // - protoc-gen-go-grpc v1.3.0 |
| | | // - protoc v3.19.0 |
| | | // source: code.proto |
| | | |
| | | package code |
| | | |
| | |
| | | // is compatible with the grpc package it is being compiled against. |
| | | // Requires gRPC-Go v1.32.0 or later. |
| | | const _ = grpc.SupportPackageIsVersion7 |
| | | |
| | | const ( |
| | | CodeService_GetCodeList_FullMethodName = "/codeService/GetCodeList" |
| | | ) |
| | | |
| | | // CodeServiceClient is the client API for CodeService service. |
| | | // |
| | |
| | | |
| | | func (c *codeServiceClient) GetCodeList(ctx context.Context, in *GetCodeListRequest, opts ...grpc.CallOption) (*GetCodeListResponse, error) { |
| | | out := new(GetCodeListResponse) |
| | | err := c.cc.Invoke(ctx, "/codeService/GetCodeList", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, CodeService_GetCodeList_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/codeService/GetCodeList", |
| | | FullMethod: CodeService_GetCodeList_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(CodeServiceServer).GetCodeList(ctx, req.(*GetCodeListRequest)) |