12345678910111213141516171819202122232425262728 |
- package service
- import (
- "context"
- pb "sikey/w303a/http/api/user/v2"
- )
- type ChildService struct {
- pb.UnimplementedChildServer
- }
- func NewChildService() *ChildService {
- return &ChildService{}
- }
- func (s *ChildService) GetChild(ctx context.Context, req *pb.GetChildRequest) (*pb.GetChildResponse, error) {
- return &pb.GetChildResponse{}, nil
- }
- func (s *ChildService) CreateChild(ctx context.Context, req *pb.CreateChildRequest) (*pb.CreateChildResponse, error) {
- return &pb.CreateChildResponse{}, nil
- }
- func (s *ChildService) UpdateChild(ctx context.Context, req *pb.UpdateChildRequest) (*pb.UpdateChildResponse, error) {
- return &pb.UpdateChildResponse{}, nil
- }
- func (s *ChildService) DeleteChild(ctx context.Context, req *pb.DeleteChildRequest) (*pb.DeleteChildResponse, error) {
- return &pb.DeleteChildResponse{}, nil
- }
|