Documentation
¶
Overview ¶
Package model @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MavenRepository ¶
type MavenRepository struct {
Id string `json:"id" dc:"仓库ID"`
Name string `json:"name" dc:"仓库名字"`
Mirrors []string `json:"mirrors" dc:"镜像地址"`
}
MavenRepository 仓库信息
type RemoteUser ¶
type RemoteUser struct {
RealGroups []string `yaml:"real_groups" dc:"实际分组"`
Groups []string `yaml:"groups" dc:"分组"`
Name string `yaml:"name" dc:"用户"`
Password string `yaml:"password" dc:"密码"`
}
RemoteUser 请求上下文结构
type UserRevision ¶
type UserRevision struct {
Id string `yaml:"_id" dc:"ID"`
Name string `yaml:"name" dc:"用户名称"`
Password string `yaml:"password" dc:"用户密码"`
Type string `yaml:"type" dc:"类型"`
Roles []string `yaml:"roles" dc:"角色"`
Date string `yaml:"date" dc:"时间"`
}
UserRevision 请求上下文结构 *
req.body = {
_id: "org.couchdb.user:jjjj",
name: "jjjj",
password: "jjjj",
type: "user",
roles: [],
date: "2022-07-08T15:51:04.002Z",
}
Click to show internal directories.
Click to hide internal directories.