model

package
v0.0.0-...-52e4a05 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 0 Imported by: 0

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",
 }

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL