const classfantomato::Fantomato

sys::Obj
  web::WebMod
    draft::DraftMod
      fantomato::Fantomato

Server entry point

cache

const static Cache cache := Cache.<ctor>()

file404

const static Void file404(WebRes res)

log

const static Log log := Fantomato#.pod().log

make

new make()

Constructor.

const static Str pageLink(Str text)

sendJson

const static Void sendJson(WebRes res, Obj obj, Int statusCode := 200)

serveFile

const static Void serveFile(Uri path, WebRes res)

Serve files from data folder

serveFileItem

Void serveFileItem(Str:Str args)

serveRootFile

Void serveRootFile(Str:Str args)

serveTplItem

Void serveTplItem(Str:Str args)

settings

const static GlobalSettings settings := GlobalSettings.load

sitemap

const static SitemapGen sitemap := SitemapGen.<ctor>()

tagger

const static TagsActor tagger := TagsActor.<ctor>()