Documentation
¶
Index ¶
- type ActionRestHandler
- type ActionRestHandlerImpl
- func (impl ActionRestHandlerImpl) CreateAction(c *gin.Context)
- func (impl ActionRestHandlerImpl) DeleteAction(c *gin.Context)
- func (impl ActionRestHandlerImpl) FindActions(c *gin.Context)
- func (impl ActionRestHandlerImpl) GetAction(c *gin.Context)
- func (impl ActionRestHandlerImpl) PreviewAction(c *gin.Context)
- func (impl ActionRestHandlerImpl) RunAction(c *gin.Context)
- func (impl ActionRestHandlerImpl) UpdateAction(c *gin.Context)
- type AppRequest
- type AppRestHandler
- type AppRestHandlerImpl
- func (impl AppRestHandlerImpl) CreateApp(c *gin.Context)
- func (impl AppRestHandlerImpl) DeleteApp(c *gin.Context)
- func (impl AppRestHandlerImpl) DuplicateApp(c *gin.Context)
- func (impl AppRestHandlerImpl) GetAllApps(c *gin.Context)
- func (impl AppRestHandlerImpl) GetMegaData(c *gin.Context)
- func (impl AppRestHandlerImpl) ReleaseApp(c *gin.Context)
- func (impl AppRestHandlerImpl) RenameApp(c *gin.Context)
- type ChangePasswordRequest
- type ForgetPasswordRequest
- type Language
- type ResourceRestHandler
- type ResourceRestHandlerImpl
- func (impl ResourceRestHandlerImpl) CreateResource(c *gin.Context)
- func (impl ResourceRestHandlerImpl) DeleteResource(c *gin.Context)
- func (impl ResourceRestHandlerImpl) FindAllResources(c *gin.Context)
- func (impl ResourceRestHandlerImpl) GetMetaInfo(c *gin.Context)
- func (impl ResourceRestHandlerImpl) GetResource(c *gin.Context)
- func (impl ResourceRestHandlerImpl) TestConnection(c *gin.Context)
- func (impl ResourceRestHandlerImpl) UpdateResource(c *gin.Context)
- type RoomRequest
- type RoomRestHandler
- type RoomRestHandlerImpl
- type SignInRequest
- type SignUpRequest
- type UserRestHandler
- type UserRestHandlerImpl
- func (impl UserRestHandlerImpl) ForgetPassword(c *gin.Context)
- func (impl UserRestHandlerImpl) GetUserInfo(c *gin.Context)
- func (impl UserRestHandlerImpl) GetVerificationCode(c *gin.Context)
- func (impl UserRestHandlerImpl) SignIn(c *gin.Context)
- func (impl UserRestHandlerImpl) SignUp(c *gin.Context)
- func (impl UserRestHandlerImpl) UpdateLanguage(c *gin.Context)
- func (impl UserRestHandlerImpl) UpdatePassword(c *gin.Context)
- func (impl UserRestHandlerImpl) UpdateUsername(c *gin.Context)
- type Username
- type VerificationRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionRestHandler ¶
type ActionRestHandlerImpl ¶
type ActionRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewActionRestHandlerImpl ¶
func NewActionRestHandlerImpl(logger *zap.SugaredLogger, actionService action.ActionService) *ActionRestHandlerImpl
func (ActionRestHandlerImpl) CreateAction ¶
func (impl ActionRestHandlerImpl) CreateAction(c *gin.Context)
func (ActionRestHandlerImpl) DeleteAction ¶
func (impl ActionRestHandlerImpl) DeleteAction(c *gin.Context)
func (ActionRestHandlerImpl) FindActions ¶
func (impl ActionRestHandlerImpl) FindActions(c *gin.Context)
func (ActionRestHandlerImpl) GetAction ¶
func (impl ActionRestHandlerImpl) GetAction(c *gin.Context)
func (ActionRestHandlerImpl) PreviewAction ¶
func (impl ActionRestHandlerImpl) PreviewAction(c *gin.Context)
func (ActionRestHandlerImpl) RunAction ¶
func (impl ActionRestHandlerImpl) RunAction(c *gin.Context)
func (ActionRestHandlerImpl) UpdateAction ¶
func (impl ActionRestHandlerImpl) UpdateAction(c *gin.Context)
type AppRequest ¶
type AppRequest struct { Name string `json:"appName" validate:"required"` InitScheme []interface{} `json:"initScheme"` }
type AppRestHandler ¶
type AppRestHandlerImpl ¶
type AppRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewAppRestHandlerImpl ¶
func NewAppRestHandlerImpl(logger *zap.SugaredLogger, appService app.AppService, treeStateService state.TreeStateService) *AppRestHandlerImpl
func (AppRestHandlerImpl) CreateApp ¶
func (impl AppRestHandlerImpl) CreateApp(c *gin.Context)
func (AppRestHandlerImpl) DeleteApp ¶
func (impl AppRestHandlerImpl) DeleteApp(c *gin.Context)
func (AppRestHandlerImpl) DuplicateApp ¶
func (impl AppRestHandlerImpl) DuplicateApp(c *gin.Context)
func (AppRestHandlerImpl) GetAllApps ¶
func (impl AppRestHandlerImpl) GetAllApps(c *gin.Context)
func (AppRestHandlerImpl) GetMegaData ¶
func (impl AppRestHandlerImpl) GetMegaData(c *gin.Context)
func (AppRestHandlerImpl) ReleaseApp ¶
func (impl AppRestHandlerImpl) ReleaseApp(c *gin.Context)
func (AppRestHandlerImpl) RenameApp ¶
func (impl AppRestHandlerImpl) RenameApp(c *gin.Context)
type ChangePasswordRequest ¶
type ForgetPasswordRequest ¶
type ResourceRestHandler ¶
type ResourceRestHandlerImpl ¶
type ResourceRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewResourceRestHandlerImpl ¶
func NewResourceRestHandlerImpl(logger *zap.SugaredLogger, resourceService resource.ResourceService) *ResourceRestHandlerImpl
func (ResourceRestHandlerImpl) CreateResource ¶
func (impl ResourceRestHandlerImpl) CreateResource(c *gin.Context)
func (ResourceRestHandlerImpl) DeleteResource ¶
func (impl ResourceRestHandlerImpl) DeleteResource(c *gin.Context)
func (ResourceRestHandlerImpl) FindAllResources ¶
func (impl ResourceRestHandlerImpl) FindAllResources(c *gin.Context)
func (ResourceRestHandlerImpl) GetMetaInfo ¶
func (impl ResourceRestHandlerImpl) GetMetaInfo(c *gin.Context)
func (ResourceRestHandlerImpl) GetResource ¶
func (impl ResourceRestHandlerImpl) GetResource(c *gin.Context)
func (ResourceRestHandlerImpl) TestConnection ¶
func (impl ResourceRestHandlerImpl) TestConnection(c *gin.Context)
func (ResourceRestHandlerImpl) UpdateResource ¶
func (impl ResourceRestHandlerImpl) UpdateResource(c *gin.Context)
type RoomRequest ¶
type RoomRequest struct {
Name string `json:"RoomName" validate:"required"`
}
type RoomRestHandler ¶
type RoomRestHandlerImpl ¶
type RoomRestHandlerImpl struct { RoomService room.RoomService // contains filtered or unexported fields }
func NewRoomRestHandlerImpl ¶
func NewRoomRestHandlerImpl(logger *zap.SugaredLogger, RoomService room.RoomService) *RoomRestHandlerImpl
func (RoomRestHandlerImpl) GetAppRoomConn ¶
func (impl RoomRestHandlerImpl) GetAppRoomConn(c *gin.Context)
func (RoomRestHandlerImpl) GetDashboardRoomConn ¶
func (impl RoomRestHandlerImpl) GetDashboardRoomConn(c *gin.Context)
type SignInRequest ¶
type SignUpRequest ¶
type SignUpRequest struct { Nickname string `json:"nickname" validate:"required"` Email string `json:"email" validate:"required"` Password string `json:"password" validate:"required"` Language string `json:"language" validate:"oneof=zh-CN en-US ko-KR ja-JP"` IsSubscribed bool `json:"isSubscribed"` VerificationCode string `json:"verificationCode"` VerificationToken string `json:"verificationToken"` }
type UserRestHandler ¶
type UserRestHandlerImpl ¶
type UserRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewUserRestHandlerImpl ¶
func NewUserRestHandlerImpl(logger *zap.SugaredLogger, userService user.UserService) *UserRestHandlerImpl
func (UserRestHandlerImpl) ForgetPassword ¶
func (impl UserRestHandlerImpl) ForgetPassword(c *gin.Context)
func (UserRestHandlerImpl) GetUserInfo ¶
func (impl UserRestHandlerImpl) GetUserInfo(c *gin.Context)
func (UserRestHandlerImpl) GetVerificationCode ¶
func (impl UserRestHandlerImpl) GetVerificationCode(c *gin.Context)
func (UserRestHandlerImpl) SignIn ¶
func (impl UserRestHandlerImpl) SignIn(c *gin.Context)
func (UserRestHandlerImpl) SignUp ¶
func (impl UserRestHandlerImpl) SignUp(c *gin.Context)
func (UserRestHandlerImpl) UpdateLanguage ¶
func (impl UserRestHandlerImpl) UpdateLanguage(c *gin.Context)
func (UserRestHandlerImpl) UpdatePassword ¶
func (impl UserRestHandlerImpl) UpdatePassword(c *gin.Context)
func (UserRestHandlerImpl) UpdateUsername ¶
func (impl UserRestHandlerImpl) UpdateUsername(c *gin.Context)
type VerificationRequest ¶
Click to show internal directories.
Click to hide internal directories.