-
Notifications
You must be signed in to change notification settings - Fork 1
/
plan.go
32 lines (25 loc) · 878 Bytes
/
plan.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package recur
import (
"google.golang.org/grpc"
"github.com/BTBurke/recur/backend"
"github.com/BTBurke/recur/pb"
context "golang.org/x/net/context"
)
type PlanClient struct {
backend backend.PlanClient
}
// CreatePlan is the GRPC endpoint to create a plan.
func (c *PlanClient) CreatePlan(ctx context.Context, req *pb.CreatePlanRequest, opts ...grpc.CallOption) (*pb.PlanResponse, error) {
return nil, nil
}
// Create creates a plan with a default context
func (c *PlanClient) Create(req *pb.CreatePlanRequest) (*pb.PlanResponse, error) {
return nil, nil
}
// CreateWithCtx creates a plan with a custom context
func (c *PlanClient) CreateWithCtx(ctx context.Context, req *pb.CreatePlanRequest) (*pb.PlanResponse, error) {
return nil, nil
}
func (c *PlanClient) create(ctx context.Context, req *pb.CreatePlanRequest) (*pb.PlanResponse, error) {
return nil, nil
}