Documentation ¶
Overview ¶
* @Author: LinkLeong link@icewhale.com * @Date: 2022-03-18 11:40:55 * @LastEditors: LinkLeong * @LastEditTime: 2022-07-12 10:05:37 * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UserRegisterHash = make(map[string]string)
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { Gateway() gateway.ManagementService User() UserService }
var MyService Repository
func NewService ¶
func NewService(db *gorm.DB, RuntimePath string) Repository
type UserService ¶
type UserService interface { UpLoadFile(file multipart.File, name string) error CreateUser(m model.UserDBModel) model.UserDBModel GetUserCount() (userCount int64) UpdateUser(m model.UserDBModel) UpdateUserPassword(m model.UserDBModel) GetUserInfoById(id string) (m model.UserDBModel) GetUserAllInfoById(id string) (m model.UserDBModel) GetUserAllInfoByName(userName string) (m model.UserDBModel) DeleteUserById(id string) DeleteAllUser() GetUserInfoByUserName(userName string) (m model.UserDBModel) GetAllUserName() (list []model.UserDBModel) }
Directories ¶
Path | Synopsis |
---|---|
* @Author: LinkLeong link@icewhale.com * @Date: 2022-05-13 18:15:46 * @LastEditors: LinkLeong * @LastEditTime: 2022-07-11 17:57:00 * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.
|
* @Author: LinkLeong link@icewhale.com * @Date: 2022-05-13 18:15:46 * @LastEditors: LinkLeong * @LastEditTime: 2022-07-11 17:57:00 * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved. |
Click to show internal directories.
Click to hide internal directories.