Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // RootDir points to the root dir RootDir string // StoragePath is where we save the samples StoragePath string // MaxFileSize allowed MaxFileSize int64 // MaxAvatarFileSize allowed MaxAvatarFileSize int64 // Domain name Domain string // NsqProducer holds an instance of NSQ producer. NsqProducer *nsq.Producer // MinioClient represents an instance of Object Space API client. MinioClient *minio.Client // UserSchema represent a user UserSchema *gojsonschema.Schema // FileSchema represent a user FileSchema *gojsonschema.Schema // LoginSchema represent a user login LoginSchema *gojsonschema.Schema // EmailSchema represent a request to change password EmailSchema *gojsonschema.Schema // ResetPasswordSchema represent a change password. ResetPasswordSchema *gojsonschema.Schema // FileActionSchema represent an action over a file. FileActionSchema *gojsonschema.Schema // UserUpdateSchema represent an update user. UserUpdateSchema *gojsonschema.Schema // PasswordUpdateSchema represent an update password. PasswordUpdateSchema *gojsonschema.Schema // EmailUpdateSchema represent an update email. EmailUpdateSchema *gojsonschema.Schema // UserActionSchema represent an action over a user. UserActionSchema *gojsonschema.Schema // CommentSchema represent an comment creation. CommentSchema *gojsonschema.Schema // SamplesSpaceBucket contains the space name of bucket to save samples. SamplesSpaceBucket string // AvatarSpaceBucket contains the space name of bucket to save user avatars. AvatarSpaceBucket string // Hermes represents an instance email generator. Hermes hermes.Hermes // SMTPConfig holds smtp config. SMTPConfig SMTPAuthentication // AvatarFileBuff contains the content of the default image avatar file path. AvatarFileBuff []byte // SfwAvatarFileDesc holds a descriptor to saferwall's image avatar file path. SfwAvatarFileDesc *os.File )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.