{"modulePath":"github.com/Defacto2/server","version":"v1.16.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package ext\n\nPackage ext contains common filename extensions used by the file records.\n\n## Constants\n\n```go\nconst (\n\tApp = \"comp2\"\n\tDoc = \"doc\"\n\tHtm = \"generic\"\n\tPic = \"image2\"\n\tSfx = \"sound2\"\n\tVid = \"movie\"\n\tZip = \"compressed\"\n)\n```\nIcon names for the Apache2 .gif image files used as icons for the named file.\n\n## Functions\n\n```go\nfunc IconName(name string) string\n```\nIconName returns the extensionless name of an Apache2 .gif image file to use as an icon for the named file.\n\n```go\nfunc IsApp(name string) bool\n```\nIsApp returns true if the named file uses a Windows application filename.\n\n```go\nfunc IsArchive(name string) bool\n```\nIsArchive returns true if the named file uses a common compressed or archived filename.\n\n```go\nfunc IsAudio(name string) bool\n```\nIsAudio returns true if the named file uses a common digital audio filename.\n\n```go\nfunc IsDocument(name string) bool\n```\nIsDocument returns true if the named file uses a common document or text filename.\n\n```go\nfunc IsExt(name string, extensions ...string) bool\n```\nIsExt returns true if the file extension of the named file is found in the collection of extensions.\n\n```go\nfunc IsHTML(name string) bool\n```\nIsHTML returns true if the named file uses a HTML markup filename.\n\n```go\nfunc IsImage(name string) bool\n```\nIsImage returns true if the named file uses a common image or photo filename.\n\n```go\nfunc IsTune(name string) bool\n```\nIsTune returns true if the named file uses a common tracker music filename.\n\n```go\nfunc IsVideo(name string) bool\n```\nIsVideo returns true if the named file uses a common video filename.\n\n","path":"github.com/Defacto2/server/handler/html3/ext","name":"ext","synopsis":"Package ext contains common filename extensions used by the file records.","isRedistributable":true}
