feat: docker mysql and redis

This commit is contained in:
zzw
2026-08-06 13:43:52 +08:00
parent 58242dee8d
commit c37cedc664
26 changed files with 1349 additions and 129 deletions
+29
View File
@@ -0,0 +1,29 @@
// Code generated by goctl. DO NOT EDIT.
// goctl 1.10.1
// Source: order.proto
package server
import (
"context"
"order/internal/logic"
"order/internal/svc"
"order/order"
)
type OrderServer struct {
svcCtx *svc.ServiceContext
order.UnimplementedOrderServer
}
func NewOrderServer(svcCtx *svc.ServiceContext) *OrderServer {
return &OrderServer{
svcCtx: svcCtx,
}
}
func (s *OrderServer) Ping(ctx context.Context, in *order.Request) (*order.Response, error) {
l := logic.NewPingLogic(ctx, s.svcCtx)
return l.Ping(in)
}