Documentation
¶
Index ¶
- type ActivateTenant
- type AddNewComment
- type AddNewNotification
- type AddNewPost
- type AddNewTag
- type AddSubscriber
- type AddVote
- type AssignTag
- type BlockUser
- type ChangeUserEmail
- type ChangeUserRole
- type CreateTenant
- type DeleteBlob
- type DeleteComment
- type DeleteCurrentUser
- type DeleteTag
- type HTTPRequest
- type LogDebug
- type LogError
- type LogInfo
- type LogWarn
- type MarkAllNotificationsAsRead
- type MarkNotificationAsRead
- type MarkPostAsDuplicate
- type ParseOAuthRawProfile
- type PurgeExpiredNotifications
- type RegenerateAPIKey
- type RegisterUser
- type RegisterUserProvider
- type RemoveSubscriber
- type RemoveVote
- type SaveCustomOAuthConfig
- type SaveVerificationKey
- type SendMail
- type SetAttachments
- type SetKeyAsVerified
- type SetPostResponse
- type StoreBlob
- type StoreEvent
- type UnassignTag
- type UnblockUser
- type UpdateComment
- type UpdateCurrentUser
- type UpdateCurrentUserSettings
- type UpdatePost
- type UpdateTag
- type UpdateTenantAdvancedSettings
- type UpdateTenantPrivacySettings
- type UpdateTenantSettings
- type UploadImage
- type UploadImages
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateTenant ¶
type ActivateTenant struct {
TenantID int
}
type AddNewComment ¶
type AddNewNotification ¶
type ChangeUserEmail ¶
type ChangeUserRole ¶
type CreateTenant ¶
type DeleteBlob ¶
type DeleteBlob struct {
Key string
}
type DeleteComment ¶
type DeleteComment struct {
CommentID int
}
type DeleteCurrentUser ¶
type DeleteCurrentUser struct {
}
type HTTPRequest ¶
type MarkAllNotificationsAsRead ¶
type MarkAllNotificationsAsRead struct{}
type MarkNotificationAsRead ¶
type MarkNotificationAsRead struct {
ID int
}
type MarkPostAsDuplicate ¶
type ParseOAuthRawProfile ¶
type ParseOAuthRawProfile struct {
Provider string
Body string
Result *dto.OAuthUserProfile
}
type PurgeExpiredNotifications ¶
type PurgeExpiredNotifications struct {
NumOfDeletedNotifications int
}
type RegenerateAPIKey ¶
type RegenerateAPIKey struct {
Result string
}
type RegisterUser ¶
type RegisterUserProvider ¶
type SaveCustomOAuthConfig ¶
type SaveCustomOAuthConfig struct {
Config *models.CreateEditOAuthConfig
}
type SaveVerificationKey ¶
type SaveVerificationKey struct {
Key string
Duration time.Duration
Request models.NewEmailVerification
}
type SetAttachments ¶
type SetKeyAsVerified ¶
type SetKeyAsVerified struct {
Key string
}
type SetPostResponse ¶
type SetPostResponse struct {
Post *models.Post
Text string
Status enum.PostStatus
}
type StoreEvent ¶
type UnblockUser ¶
type UnblockUser struct {
UserID int
}
type UpdateComment ¶
type UpdateCurrentUser ¶
type UpdateCurrentUser struct {
Name string
AvatarType enum.AvatarType
Avatar *models.ImageUpload
}
type UpdatePost ¶
type UpdateTenantAdvancedSettings ¶
type UpdateTenantAdvancedSettings struct {
Settings *models.UpdateTenantAdvancedSettings
}
type UpdateTenantPrivacySettings ¶
type UpdateTenantPrivacySettings struct {
Settings *models.UpdateTenantPrivacy
}
type UpdateTenantSettings ¶
type UpdateTenantSettings struct {
Settings *models.UpdateTenantSettings
}
type UploadImage ¶
type UploadImage struct {
Image *models.ImageUpload
Folder string
}
type UploadImages ¶
type UploadImages struct {
Images []*models.ImageUpload
Folder string
}
Click to show internal directories.
Click to hide internal directories.