feat: ota

This commit is contained in:
zzw
2026-09-22 16:47:38 +08:00
parent fdf5825d83
commit 08b67dba70
26 changed files with 1033 additions and 178 deletions
+4
View File
@@ -148,6 +148,10 @@ func main() {
})
defer s.Stop()
s.AddOptions(
grpc.MaxRecvMsgSize(256<<20),
grpc.MaxSendMsgSize(256<<20),
)
s.AddUnaryInterceptors(validate.UnaryServerInterceptor(validate.MustNew()))
logx.Infof("Starting rpc server at %s...", listenOn)