exhtml v0.3.1 Exhtml.Host
Exhtml.Host represents the content server.
Summary
Functions
Deletes the content from a host
Gets html content from a host
Sets html content to a host with a slug
Sets the content fetcher. A fetcher is used to fetch content from the data source, such as a remote server
Starts a host
Fetchs and sets the content from the storage to a host’s table
Types
Functions
Deletes the content from a host.
server- the PID or name of the processslug- the key of the content
Gets html content from a host.
server- the PID or name of the processslug- the key of the content
Sets html content to a host with a slug.
server- the PID or name of the processslug- the key of the contentvalue- the content to save
Returns :ok.
Sets the content fetcher. A fetcher is used to fetch content from the data source, such as a remote server.
server- the PID or name of the processf- function or module to fetch content
Starts a host.
opts- options for starting the processname- the process namecontent_fetcher- the content fetcher forExhtml.Storagedata_dir- the database storage dir forExhtml.Tabledata_nodes- the database nodes forExhtml.Table