const classfantomato::Fantomato

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

Server entry point

cache

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

file404

static Void file404(WebRes res)

log

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

make

new make()

Constructor.

static Str pageLink(Str text)

sendJson

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

serveFile

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>()