Documentation ¶
Index ¶
- func AddContent(websiteName string, path string, contentType string, content []byte) error
- func GetContent(websiteName string, path string) (string, []byte, error)
- func ListContent(websiteName string) (*clientpb.Website, error)
- func ListWebsites() ([]string, error)
- func RemoveContent(website string, path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddContent ¶
AddContent - Add website content for a path
func GetContent ¶
GetContent - Get static content for a given path
func ListContent ¶
ListContent - 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.