Documentation ¶
Index ¶
Constants ¶
View Source
const ( GroupEmpty = "" GroupMixed = "mixed" GroupPropertyKos = "property/kos" GroupPropertyHotel = "property/hotel" GroupPropertyHostel = "property/hostel" GroupPropertyHouse = "property/house" GroupPropertyRoom = "property/room" GroupAmenities = "amenities" GroupUserKTP = "user/ktp" GroupUserAvatar = "user/avatar" GroupPaymentProof = "payment/proof" )
list of group of image
Variables ¶
View Source
var ( ErrTooManyTags = errors.New("image: cannot have more than 5 tags") ErrTempPathNotFound = errors.New("image: temporary path not found") ErrInvalidAccessAttribute = errors.New("image: invalid access attribute") )
list of errors
Functions ¶
This section is empty.
Types ¶
type Access ¶
type Access string
Access of image
func CreateAccess ¶
CreateAccess return the access of image format is: allowed:[]users;priviledge:[]Permission;
type FileInfo ¶
type FileInfo struct { FileName string Size int64 Header textproto.MIMEHeader UserHash userentity.Hash Mode Mode Group Group Tags string }
FileInfo struct
Click to show internal directories.
Click to hide internal directories.