Logo
Explore Help
Sign In
Backups/OpenList
1
0
Fork 0
You've already forked OpenList
mirror of https://github.com/OpenListTeam/OpenList.git synced 2025-09-20 20:56:20 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
55d3827deee931f72efd3e83973bdd33ff313b9e
OpenList/server/common/resp.go

13 lines
237 B
Go
Raw Normal View History

feat: Implement plugin architecture with gRPC support - Added driver initialization for gRPC plugins in internal/bootstrap/driver.go. - Introduced configuration structures and protobuf definitions for driver plugins in proto/driver/config.proto and proto/driver/driver.proto. - Implemented gRPC server and client interfaces for driver plugins in shared/driver/grpc.go. - Created common response handling utilities in server/common/common.go and server/common/resp.go. - Developed plugin registration endpoint in server/handles/plugin.go. - Added test cases for plugin functionality in shared/driver/plugin_test.go. - Defined plugin reattachment configuration model in shared/model/plugin.go.
2025-08-13 19:04:38 +08:00
package common
type Resp[T any] struct {
Code int `json:"code"`
Message string `json:"message"`
Data T `json:"data"`
}
type PageResp struct {
Content interface{} `json:"content"`
Total int64 `json:"total"`
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 20ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API