// Code generated by goctl. DO NOT EDIT. // goctl 1.10.1 // Source: gorpc.proto package goplanclient import ( "context" "code.flashlink.me/nomo-server/go-service-pb/pb/pb" "github.com/zeromicro/go-zero/zrpc" "google.golang.org/grpc" ) type ( Empty = pb.Empty ServiceBoxAddReq = pb.ServiceBoxAddReq ServiceBoxAddResp = pb.ServiceBoxAddResp ServiceBoxAddWithDetailsReq = pb.ServiceBoxAddWithDetailsReq ServiceBoxAddWithDetailsResp = pb.ServiceBoxAddWithDetailsResp ServiceBoxDelReq = pb.ServiceBoxDelReq ServiceBoxGetReq = pb.ServiceBoxGetReq ServiceBoxGetResp = pb.ServiceBoxGetResp ServiceBoxGetWithDetailsReq = pb.ServiceBoxGetWithDetailsReq ServiceBoxGetWithDetailsResp = pb.ServiceBoxGetWithDetailsResp ServiceBoxListReq = pb.ServiceBoxListReq ServiceBoxListResp = pb.ServiceBoxListResp ServiceBoxTypesAddReq = pb.ServiceBoxTypesAddReq ServiceBoxTypesAddResp = pb.ServiceBoxTypesAddResp ServiceBoxTypesDelReq = pb.ServiceBoxTypesDelReq ServiceBoxTypesGetReq = pb.ServiceBoxTypesGetReq ServiceBoxTypesGetResp = pb.ServiceBoxTypesGetResp ServiceBoxTypesListReq = pb.ServiceBoxTypesListReq ServiceBoxTypesListResp = pb.ServiceBoxTypesListResp ServiceBoxTypesUpdateReq = pb.ServiceBoxTypesUpdateReq ServiceBoxTypesUpdateResp = pb.ServiceBoxTypesUpdateResp ServiceBoxUpdateReq = pb.ServiceBoxUpdateReq ServiceBoxUpdateResp = pb.ServiceBoxUpdateResp ServiceBoxUpdateWithDetailsReq = pb.ServiceBoxUpdateWithDetailsReq ServiceBoxUpdateWithDetailsResp = pb.ServiceBoxUpdateWithDetailsResp ServicePlanAddReq = pb.ServicePlanAddReq ServicePlanAddResp = pb.ServicePlanAddResp ServicePlanAddWithBoxesReq = pb.ServicePlanAddWithBoxesReq ServicePlanAddWithBoxesResp = pb.ServicePlanAddWithBoxesResp ServicePlanBoxesAddReq = pb.ServicePlanBoxesAddReq ServicePlanBoxesAddResp = pb.ServicePlanBoxesAddResp ServicePlanBoxesDelReq = pb.ServicePlanBoxesDelReq ServicePlanBoxesGetReq = pb.ServicePlanBoxesGetReq ServicePlanBoxesGetResp = pb.ServicePlanBoxesGetResp ServicePlanBoxesListReq = pb.ServicePlanBoxesListReq ServicePlanBoxesListResp = pb.ServicePlanBoxesListResp ServicePlanBoxesUpdateReq = pb.ServicePlanBoxesUpdateReq ServicePlanBoxesUpdateResp = pb.ServicePlanBoxesUpdateResp ServicePlanChannelAddReq = pb.ServicePlanChannelAddReq ServicePlanChannelAddResp = pb.ServicePlanChannelAddResp ServicePlanChannelDelReq = pb.ServicePlanChannelDelReq ServicePlanChannelGetReq = pb.ServicePlanChannelGetReq ServicePlanChannelGetResp = pb.ServicePlanChannelGetResp ServicePlanChannelListReq = pb.ServicePlanChannelListReq ServicePlanChannelListResp = pb.ServicePlanChannelListResp ServicePlanChannelUpdateReq = pb.ServicePlanChannelUpdateReq ServicePlanChannelUpdateResp = pb.ServicePlanChannelUpdateResp ServicePlanDelReq = pb.ServicePlanDelReq ServicePlanGetReq = pb.ServicePlanGetReq ServicePlanGetResp = pb.ServicePlanGetResp ServicePlanGetWithBoxesReq = pb.ServicePlanGetWithBoxesReq ServicePlanGetWithBoxesResp = pb.ServicePlanGetWithBoxesResp ServicePlanListReq = pb.ServicePlanListReq ServicePlanListResp = pb.ServicePlanListResp ServicePlanUpdateReq = pb.ServicePlanUpdateReq ServicePlanUpdateResp = pb.ServicePlanUpdateResp ServicePlanUpdateWithBoxesReq = pb.ServicePlanUpdateWithBoxesReq ServicePlanUpdateWithBoxesResp = pb.ServicePlanUpdateWithBoxesResp ServiceTypesAddReq = pb.ServiceTypesAddReq ServiceTypesAddResp = pb.ServiceTypesAddResp ServiceTypesDelReq = pb.ServiceTypesDelReq ServiceTypesGetReq = pb.ServiceTypesGetReq ServiceTypesGetResp = pb.ServiceTypesGetResp ServiceTypesListReq = pb.ServiceTypesListReq ServiceTypesListResp = pb.ServiceTypesListResp ServiceTypesUpdateReq = pb.ServiceTypesUpdateReq ServiceTypesUpdateResp = pb.ServiceTypesUpdateResp GoPlanClient interface { // ServiceTypesAdd ServiceTypesAdd(ctx context.Context, in *ServiceTypesAddReq, opts ...grpc.CallOption) (*ServiceTypesAddResp, error) ServiceTypesUpdate(ctx context.Context, in *ServiceTypesUpdateReq, opts ...grpc.CallOption) (*ServiceTypesUpdateResp, error) ServiceTypesDel(ctx context.Context, in *ServiceTypesDelReq, opts ...grpc.CallOption) (*Empty, error) ServiceTypesGet(ctx context.Context, in *ServiceTypesGetReq, opts ...grpc.CallOption) (*ServiceTypesGetResp, error) ServiceTypesList(ctx context.Context, in *ServiceTypesListReq, opts ...grpc.CallOption) (*ServiceTypesListResp, error) // ServiceBoxAdd ServiceBoxAdd(ctx context.Context, in *ServiceBoxAddReq, opts ...grpc.CallOption) (*ServiceBoxAddResp, error) ServiceBoxAddWithDetails(ctx context.Context, in *ServiceBoxAddWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxAddWithDetailsResp, error) ServiceBoxUpdate(ctx context.Context, in *ServiceBoxUpdateReq, opts ...grpc.CallOption) (*ServiceBoxUpdateResp, error) ServiceBoxUpdateWithDetails(ctx context.Context, in *ServiceBoxUpdateWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxUpdateWithDetailsResp, error) ServiceBoxDel(ctx context.Context, in *ServiceBoxDelReq, opts ...grpc.CallOption) (*Empty, error) ServiceBoxGet(ctx context.Context, in *ServiceBoxGetReq, opts ...grpc.CallOption) (*ServiceBoxGetResp, error) ServiceBoxGetWithDetails(ctx context.Context, in *ServiceBoxGetWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxGetWithDetailsResp, error) ServiceBoxList(ctx context.Context, in *ServiceBoxListReq, opts ...grpc.CallOption) (*ServiceBoxListResp, error) // ServiceBoxTypesAdd ServiceBoxTypesAdd(ctx context.Context, in *ServiceBoxTypesAddReq, opts ...grpc.CallOption) (*ServiceBoxTypesAddResp, error) ServiceBoxTypesUpdate(ctx context.Context, in *ServiceBoxTypesUpdateReq, opts ...grpc.CallOption) (*ServiceBoxTypesUpdateResp, error) ServiceBoxTypesDel(ctx context.Context, in *ServiceBoxTypesDelReq, opts ...grpc.CallOption) (*Empty, error) ServiceBoxTypesGet(ctx context.Context, in *ServiceBoxTypesGetReq, opts ...grpc.CallOption) (*ServiceBoxTypesGetResp, error) ServiceBoxTypesList(ctx context.Context, in *ServiceBoxTypesListReq, opts ...grpc.CallOption) (*ServiceBoxTypesListResp, error) // ServicePlanAdd ServicePlanAdd(ctx context.Context, in *ServicePlanAddReq, opts ...grpc.CallOption) (*ServicePlanAddResp, error) ServicePlanAddWithBoxes(ctx context.Context, in *ServicePlanAddWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanAddWithBoxesResp, error) ServicePlanUpdate(ctx context.Context, in *ServicePlanUpdateReq, opts ...grpc.CallOption) (*ServicePlanUpdateResp, error) ServicePlanUpdateWithBoxes(ctx context.Context, in *ServicePlanUpdateWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanUpdateWithBoxesResp, error) ServicePlanDel(ctx context.Context, in *ServicePlanDelReq, opts ...grpc.CallOption) (*Empty, error) ServicePlanGet(ctx context.Context, in *ServicePlanGetReq, opts ...grpc.CallOption) (*ServicePlanGetResp, error) ServicePlanGetWithBoxes(ctx context.Context, in *ServicePlanGetWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanGetWithBoxesResp, error) ServicePlanList(ctx context.Context, in *ServicePlanListReq, opts ...grpc.CallOption) (*ServicePlanListResp, error) // ServicePlanBoxesAdd ServicePlanBoxesAdd(ctx context.Context, in *ServicePlanBoxesAddReq, opts ...grpc.CallOption) (*ServicePlanBoxesAddResp, error) ServicePlanBoxesUpdate(ctx context.Context, in *ServicePlanBoxesUpdateReq, opts ...grpc.CallOption) (*ServicePlanBoxesUpdateResp, error) ServicePlanBoxesDel(ctx context.Context, in *ServicePlanBoxesDelReq, opts ...grpc.CallOption) (*Empty, error) ServicePlanBoxesGet(ctx context.Context, in *ServicePlanBoxesGetReq, opts ...grpc.CallOption) (*ServicePlanBoxesGetResp, error) ServicePlanBoxesList(ctx context.Context, in *ServicePlanBoxesListReq, opts ...grpc.CallOption) (*ServicePlanBoxesListResp, error) // ServicePlanChannelAdd ServicePlanChannelAdd(ctx context.Context, in *ServicePlanChannelAddReq, opts ...grpc.CallOption) (*ServicePlanChannelAddResp, error) ServicePlanChannelUpdate(ctx context.Context, in *ServicePlanChannelUpdateReq, opts ...grpc.CallOption) (*ServicePlanChannelUpdateResp, error) ServicePlanChannelDel(ctx context.Context, in *ServicePlanChannelDelReq, opts ...grpc.CallOption) (*Empty, error) ServicePlanChannelGet(ctx context.Context, in *ServicePlanChannelGetReq, opts ...grpc.CallOption) (*ServicePlanChannelGetResp, error) ServicePlanChannelList(ctx context.Context, in *ServicePlanChannelListReq, opts ...grpc.CallOption) (*ServicePlanChannelListResp, error) } defaultGoPlanClient struct { cli zrpc.Client } ) func NewGoPlanClient(cli zrpc.Client) GoPlanClient { return &defaultGoPlanClient{ cli: cli, } } // ServiceTypesAdd func (m *defaultGoPlanClient) ServiceTypesAdd(ctx context.Context, in *ServiceTypesAddReq, opts ...grpc.CallOption) (*ServiceTypesAddResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceTypesAdd(ctx, in, opts...) } func (m *defaultGoPlanClient) ServiceTypesUpdate(ctx context.Context, in *ServiceTypesUpdateReq, opts ...grpc.CallOption) (*ServiceTypesUpdateResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceTypesUpdate(ctx, in, opts...) } func (m *defaultGoPlanClient) ServiceTypesDel(ctx context.Context, in *ServiceTypesDelReq, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceTypesDel(ctx, in, opts...) } func (m *defaultGoPlanClient) ServiceTypesGet(ctx context.Context, in *ServiceTypesGetReq, opts ...grpc.CallOption) (*ServiceTypesGetResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceTypesGet(ctx, in, opts...) } func (m *defaultGoPlanClient) ServiceTypesList(ctx context.Context, in *ServiceTypesListReq, opts ...grpc.CallOption) (*ServiceTypesListResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceTypesList(ctx, in, opts...) } // ServiceBoxAdd func (m *defaultGoPlanClient) ServiceBoxAdd(ctx context.Context, in *ServiceBoxAddReq, opts ...grpc.CallOption) (*ServiceBoxAddResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceBoxAdd(ctx, in, opts...) } func (m *defaultGoPlanClient) ServiceBoxAddWithDetails(ctx context.Context, in *ServiceBoxAddWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxAddWithDetailsResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceBoxAddWithDetails(ctx, in, opts...) } func (m *defaultGoPlanClient) ServiceBoxUpdate(ctx context.Context, in *ServiceBoxUpdateReq, opts ...grpc.CallOption) (*ServiceBoxUpdateResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceBoxUpdate(ctx, in, opts...) } func (m *defaultGoPlanClient) ServiceBoxUpdateWithDetails(ctx context.Context, in *ServiceBoxUpdateWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxUpdateWithDetailsResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceBoxUpdateWithDetails(ctx, in, opts...) } func (m *defaultGoPlanClient) ServiceBoxDel(ctx context.Context, in *ServiceBoxDelReq, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceBoxDel(ctx, in, opts...) } func (m *defaultGoPlanClient) ServiceBoxGet(ctx context.Context, in *ServiceBoxGetReq, opts ...grpc.CallOption) (*ServiceBoxGetResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceBoxGet(ctx, in, opts...) } func (m *defaultGoPlanClient) ServiceBoxGetWithDetails(ctx context.Context, in *ServiceBoxGetWithDetailsReq, opts ...grpc.CallOption) (*ServiceBoxGetWithDetailsResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceBoxGetWithDetails(ctx, in, opts...) } func (m *defaultGoPlanClient) ServiceBoxList(ctx context.Context, in *ServiceBoxListReq, opts ...grpc.CallOption) (*ServiceBoxListResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceBoxList(ctx, in, opts...) } // ServiceBoxTypesAdd func (m *defaultGoPlanClient) ServiceBoxTypesAdd(ctx context.Context, in *ServiceBoxTypesAddReq, opts ...grpc.CallOption) (*ServiceBoxTypesAddResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceBoxTypesAdd(ctx, in, opts...) } func (m *defaultGoPlanClient) ServiceBoxTypesUpdate(ctx context.Context, in *ServiceBoxTypesUpdateReq, opts ...grpc.CallOption) (*ServiceBoxTypesUpdateResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceBoxTypesUpdate(ctx, in, opts...) } func (m *defaultGoPlanClient) ServiceBoxTypesDel(ctx context.Context, in *ServiceBoxTypesDelReq, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceBoxTypesDel(ctx, in, opts...) } func (m *defaultGoPlanClient) ServiceBoxTypesGet(ctx context.Context, in *ServiceBoxTypesGetReq, opts ...grpc.CallOption) (*ServiceBoxTypesGetResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceBoxTypesGet(ctx, in, opts...) } func (m *defaultGoPlanClient) ServiceBoxTypesList(ctx context.Context, in *ServiceBoxTypesListReq, opts ...grpc.CallOption) (*ServiceBoxTypesListResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServiceBoxTypesList(ctx, in, opts...) } // ServicePlanAdd func (m *defaultGoPlanClient) ServicePlanAdd(ctx context.Context, in *ServicePlanAddReq, opts ...grpc.CallOption) (*ServicePlanAddResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanAdd(ctx, in, opts...) } func (m *defaultGoPlanClient) ServicePlanAddWithBoxes(ctx context.Context, in *ServicePlanAddWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanAddWithBoxesResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanAddWithBoxes(ctx, in, opts...) } func (m *defaultGoPlanClient) ServicePlanUpdate(ctx context.Context, in *ServicePlanUpdateReq, opts ...grpc.CallOption) (*ServicePlanUpdateResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanUpdate(ctx, in, opts...) } func (m *defaultGoPlanClient) ServicePlanUpdateWithBoxes(ctx context.Context, in *ServicePlanUpdateWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanUpdateWithBoxesResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanUpdateWithBoxes(ctx, in, opts...) } func (m *defaultGoPlanClient) ServicePlanDel(ctx context.Context, in *ServicePlanDelReq, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanDel(ctx, in, opts...) } func (m *defaultGoPlanClient) ServicePlanGet(ctx context.Context, in *ServicePlanGetReq, opts ...grpc.CallOption) (*ServicePlanGetResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanGet(ctx, in, opts...) } func (m *defaultGoPlanClient) ServicePlanGetWithBoxes(ctx context.Context, in *ServicePlanGetWithBoxesReq, opts ...grpc.CallOption) (*ServicePlanGetWithBoxesResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanGetWithBoxes(ctx, in, opts...) } func (m *defaultGoPlanClient) ServicePlanList(ctx context.Context, in *ServicePlanListReq, opts ...grpc.CallOption) (*ServicePlanListResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanList(ctx, in, opts...) } // ServicePlanBoxesAdd func (m *defaultGoPlanClient) ServicePlanBoxesAdd(ctx context.Context, in *ServicePlanBoxesAddReq, opts ...grpc.CallOption) (*ServicePlanBoxesAddResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanBoxesAdd(ctx, in, opts...) } func (m *defaultGoPlanClient) ServicePlanBoxesUpdate(ctx context.Context, in *ServicePlanBoxesUpdateReq, opts ...grpc.CallOption) (*ServicePlanBoxesUpdateResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanBoxesUpdate(ctx, in, opts...) } func (m *defaultGoPlanClient) ServicePlanBoxesDel(ctx context.Context, in *ServicePlanBoxesDelReq, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanBoxesDel(ctx, in, opts...) } func (m *defaultGoPlanClient) ServicePlanBoxesGet(ctx context.Context, in *ServicePlanBoxesGetReq, opts ...grpc.CallOption) (*ServicePlanBoxesGetResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanBoxesGet(ctx, in, opts...) } func (m *defaultGoPlanClient) ServicePlanBoxesList(ctx context.Context, in *ServicePlanBoxesListReq, opts ...grpc.CallOption) (*ServicePlanBoxesListResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanBoxesList(ctx, in, opts...) } // ServicePlanChannelAdd func (m *defaultGoPlanClient) ServicePlanChannelAdd(ctx context.Context, in *ServicePlanChannelAddReq, opts ...grpc.CallOption) (*ServicePlanChannelAddResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanChannelAdd(ctx, in, opts...) } func (m *defaultGoPlanClient) ServicePlanChannelUpdate(ctx context.Context, in *ServicePlanChannelUpdateReq, opts ...grpc.CallOption) (*ServicePlanChannelUpdateResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanChannelUpdate(ctx, in, opts...) } func (m *defaultGoPlanClient) ServicePlanChannelDel(ctx context.Context, in *ServicePlanChannelDelReq, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanChannelDel(ctx, in, opts...) } func (m *defaultGoPlanClient) ServicePlanChannelGet(ctx context.Context, in *ServicePlanChannelGetReq, opts ...grpc.CallOption) (*ServicePlanChannelGetResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanChannelGet(ctx, in, opts...) } func (m *defaultGoPlanClient) ServicePlanChannelList(ctx context.Context, in *ServicePlanChannelListReq, opts ...grpc.CallOption) (*ServicePlanChannelListResp, error) { client := pb.NewGoPlanClientClient(m.cli.Conn()) return client.ServicePlanChannelList(ctx, in, opts...) }