Documentation ¶
Index ¶
- func AddContent(name string, pbWebContent *clientpb.WebContent) error
- func AddWebsite(name string) (*clientpb.Website, error)
- func GetContent(name string, path string) (*clientpb.WebContent, error)
- func MapContent(name string, eager bool) (*clientpb.Website, error)
- func Names() ([]string, error)
- func RemoveContent(name string, path string) error
- func WebsiteByName(name string) (*clientpb.Website, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddContent ¶
func AddContent(name string, pbWebContent *clientpb.WebContent) error
AddContent - Add website content for a path
func GetContent ¶
func GetContent(name string, path string) (*clientpb.WebContent, error)
GetContent - Get static content for a given path
func MapContent ¶
MapContent - List the content of a specific site, returns map of path->json(content-type/size)
func RemoveContent ¶
RemoveContent - Remove website content for a path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.