// Code generated by goctl. DO NOT EDIT. // goctl 1.10.2 // Source: record.proto package server import ( "context" "lone-services/rpc/record/pb" "lone-services/services/record/internal/logic" "lone-services/services/record/internal/svc" ) type RecordServer struct { svcCtx *svc.ServiceContext record.UnimplementedRecordServer } func NewRecordServer(svcCtx *svc.ServiceContext) *RecordServer { return &RecordServer{ svcCtx: svcCtx, } } func (s *RecordServer) Items(ctx context.Context, in *record.ItemsRequest) (*record.Response, error) { l := logic.NewItemsLogic(ctx, s.svcCtx) return l.Items(in) } func (s *RecordServer) LoginItems(ctx context.Context, in *record.ItemsRequest) (*record.Response, error) { l := logic.NewLoginItemsLogic(ctx, s.svcCtx) return l.LoginItems(in) } func (s *RecordServer) ActionAdd(ctx context.Context, in *record.ActionLog) (*record.Response, error) { l := logic.NewActionAddLogic(ctx, s.svcCtx) return l.ActionAdd(in) } func (s *RecordServer) LoginAdd(ctx context.Context, in *record.LoginLog) (*record.Response, error) { l := logic.NewLoginAddLogic(ctx, s.svcCtx) return l.LoginAdd(in) }