Academy v0.8.3 完整代码基线:Go 后端(internal/cmd/cli/mcp-server/docreader)、 Vue 前端(frontend)、数据库迁移(migrations)、部署编排(docker/helm/deploy)与文档。 今日开发的培训推送管理改动随后单独提交。
12 lines
261 B
Go
12 lines
261 B
Go
package api
|
|
|
|
// Credentials is what the operator stored for one model row.
|
|
type Credentials struct {
|
|
APIKey string
|
|
AppID string
|
|
AppSecret string
|
|
}
|
|
|
|
// Ptr returns a pointer for optional protocol settings.
|
|
func Ptr[T any](value T) *T { return &value }
|