feat: implemented service/transport/main layers
This commit is contained in:
parent
5158c5d7c9
commit
bcb9ace54c
29 changed files with 804 additions and 393 deletions
|
|
@ -130,7 +130,7 @@ func (s *Server) handlePerformPredictionRequest(args [0]string, argsEscaped bool
|
|||
}
|
||||
}()
|
||||
|
||||
var response *Result
|
||||
var response *PredictionResult
|
||||
if m := s.cfg.Middleware; m != nil {
|
||||
mreq := middleware.Request{
|
||||
Context: ctx,
|
||||
|
|
@ -148,9 +148,9 @@ func (s *Server) handlePerformPredictionRequest(args [0]string, argsEscaped bool
|
|||
}
|
||||
|
||||
type (
|
||||
Request = OptParameters
|
||||
Request = OptPredictionParameters
|
||||
Params = PerformPredictionParams
|
||||
Response = *Result
|
||||
Response = *PredictionResult
|
||||
)
|
||||
response, err = middleware.HookMiddleware[
|
||||
Request,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue