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.dappster.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 EventService ¶
type EventService interface { CreateEvemt(m model.EventModel) model.EventModel GetEvents() (list []model.EventModel) GetEventByUUID(uuid string) (m model.EventModel) DeleteEvent(uuid string) DeleteEventBySerial(serial string) }
func NewEventService ¶
func NewEventService(db *gorm.DB) EventService
type Repository ¶
type Repository interface { Gateway() external.ManagementService User() UserService MessageBus() *message_bus.ClientWithResponses Event() EventService }
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) GetKeyPair() (*ecdsa.PrivateKey, *ecdsa.PublicKey) }
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.dappster.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.dappster.io * Copyright (c) 2022 by icewhale, All Rights Reserved. |
Click to show internal directories.
Click to hide internal directories.