Documentation ¶
Index ¶
- type Util
- func (u Util) GetExtensions() (kp []types.IdCount, err error)
- func (u Util) GetFileByFilename(filename string) (this_file types.File, err error)
- func (u Util) GetFileRandom() (this_file types.File, err error)
- func (u Util) GetKeywords() (kp []types.IdCount, err error)
- func (u Util) HasFileByFilename(filename string) (exists bool, err error)
- func (u Util) HasFileByKeyword(keyword string) (exists bool, err error)
- func (u Util) HasFileByMd5(md5 string) (exists bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Util ¶
func (Util) GetExtensions ¶
get a list of file extensions and their frequency count
func (Util) GetFileByFilename ¶
func (Util) GetKeywords ¶
get a list of keywords and their frequency count
func (Util) HasFileByFilename ¶
Check whether this types.File filename is on Mongo
func (Util) HasFileByKeyword ¶
Click to show internal directories.
Click to hide internal directories.