Documentation ¶
Index ¶
- func CleanUp()
- func InitNats() error
- func SendAccessKeyEvent(key, bid string, expiredDate time.Time, permissions []string, uid string, ...) error
- func SendBucketEvent(id, uid, name, region, eventType string) error
- func SendDownloadFileEvent(id, fid, name string, size int64, bid, contentType string, ...) error
- func SendEmailEvent(email, username, otp string, expired time.Time) error
- func SendErrorEvent(content, t string) error
- func SendFolderEvent(id, ownerId, name, fullpath, eventType string) error
- func SendKeyPairEvent(public, private, bid string, expiredDate time.Time, permissions []string, ...) error
- func SendStagingFileEvent(name string, size int64, bid, contentType, path string, isHidden bool) error
- func SendUploadFileEvent(id, fid, name string, size int64, bid, contentType string, ...) error
- func SendUploadSuccessFileEvent(id, fid, name string, size int64, bid, contentType string, ...) error
- func SendUserEvent(firstname, lastname, username, pass, email string, dob time.Time, ...) error
- type AccessKeyLog
- type BucketEvent
- type Event
- type FolderEvent
- type KeyPairLog
- type UserEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendAccessKeyEvent ¶
func SendBucketEvent ¶
func SendDownloadFileEvent ¶
func SendErrorEvent ¶
func SendFolderEvent ¶
func SendKeyPairEvent ¶
func SendStagingFileEvent ¶
func SendUploadFileEvent ¶
Types ¶
type AccessKeyLog ¶
type BucketEvent ¶
type FolderEvent ¶
type KeyPairLog ¶
type UserEvent ¶
type UserEvent struct { EventLog Event `json:"event_log"` Firstname string `json:"firstname"` Lastname string `json:"lastname"` Username string `json:"username"` Pass string `json:"password"` Email string `json:"email"` Dob time.Time `json:"dob"` Company string `json:"company"` Gender bool `json:"gender"` IsActive bool `json:"is_active"` IsBanned bool `json:"is_banned"` }
Click to show internal directories.
Click to hide internal directories.